summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-05-06 18:14:23 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-05-06 18:54:24 +0200
commit0c790e6850f0575f4d5ba8182c580182869ad57d (patch)
tree6db32b28d0c473f4f81d9b2a42b49efe09038f33 /include
parent25a1ba71e3cf4250489291f688423963aa603498 (diff)
Message: get self identity from server
Diffstat (limited to 'include')
-rw-r--r--include/erebos/message.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/erebos/message.h b/include/erebos/message.h
index 436c0ed..497b536 100644
--- a/include/erebos/message.h
+++ b/include/erebos/message.h
@@ -94,10 +94,11 @@ public:
DirectMessageThread thread(const Identity &);
- DirectMessage send(const Identity &, const Peer &, const std::string &);
+ DirectMessage send(const Peer &, const std::string &);
private:
const Config config;
+ const Server & server;
};
}