From 15ad6ae7bd64d8d7319d75dbbb0827addd22fef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 23 May 2023 22:11:42 +0200 Subject: Message sending to identity or contact --- include/erebos/message.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/erebos/message.h') diff --git a/include/erebos/message.h b/include/erebos/message.h index 497b536..011007a 100644 --- a/include/erebos/message.h +++ b/include/erebos/message.h @@ -12,6 +12,7 @@ namespace erebos { using std::unique_ptr; +class Contact; class Identity; class DirectMessage @@ -94,6 +95,8 @@ public: DirectMessageThread thread(const Identity &); + DirectMessage send(const Identity &, const std::string &); + DirectMessage send(const Contact &, const std::string &); DirectMessage send(const Peer &, const std::string &); private: -- cgit v1.2.3