summaryrefslogtreecommitdiffstats
path: root/pica-client/history.h
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/history.h')
-rw-r--r--pica-client/history.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pica-client/history.h b/pica-client/history.h
index c1c7615..53f8ff7 100644
--- a/pica-client/history.h
+++ b/pica-client/history.h
@@ -35,7 +35,8 @@ public:
QString message;
};
- History(QString storage, QByteArray my_id);
+ // See Nodes::Nodes() for what connectionName selects and why.
+ History(QString storage, QByteArray my_id, QString connectionName = QString());
void Add(QByteArray peer_id, QString message, bool is_me);//is_me - true - message from me to peer, false - from peer to me
void SetDelivered(QByteArray peer_id); //mark first undelivered message from me to peer as delivered
QList<HistoryRecord> GetMessages(QByteArray peer_id, quint32 start_timestamp, quint32 end_timestamp);