diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/erebos/message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/erebos/message.h b/include/erebos/message.h index 194044c..6ad6e54 100644 --- a/include/erebos/message.h +++ b/include/erebos/message.h @@ -131,12 +131,17 @@ public: DirectMessageThread thread(const Identity &); + static DirectMessage send(const Head<LocalState> &, const Identity &, const std::string &); + static DirectMessage send(const Head<LocalState> &, const Contact &, const std::string &); + static DirectMessage send(const Head<LocalState> &, const Peer &, const std::string &); + DirectMessage send(const Identity &, const std::string &); DirectMessage send(const Contact &, const std::string &); DirectMessage send(const Peer &, const std::string &); private: void updateHandler(const DirectMessageThreads &); + static void syncWithPeer(const Head<LocalState> &, const DirectMessageThread &, const Peer &); const Config config; const Server & server; |