summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2020-03-11 00:08:18 +0100
committerlouiz’ <louiz@louiz.org>2020-03-11 00:13:46 +0100
commite967088986f0d32eec662e2ab3749e4ba8e07a21 (patch)
treed0024347d28fed1afafc330ead744ca1bb9043db /src/bridge/bridge.hpp
parent49a3931784d4b58e1f618f5424701ae6de79833b (diff)
downloadbiboumi-e967088986f0d32eec662e2ab3749e4ba8e07a21.tar.gz
biboumi-e967088986f0d32eec662e2ab3749e4ba8e07a21.tar.bz2
biboumi-e967088986f0d32eec662e2ab3749e4ba8e07a21.tar.xz
biboumi-e967088986f0d32eec662e2ab3749e4ba8e07a21.zip
Make sure we keep the stable-id and origin-id nodes when required
See https://xmpp.org/extensions/xep-0359.html
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r--src/bridge/bridge.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index fa2a31f..a94f07b 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -81,7 +81,7 @@ public:
HistoryLimit history_limit,
const bool force_join);
- void send_channel_message(const Iid& iid, const std::string& body, std::string id);
+ void send_channel_message(const Iid& iid, const std::string& body, std::string id, std::vector<XmlNode> nodes_to_reflect);
void send_private_message(const Iid& iid, const std::string& body, const std::string& type="PRIVMSG");
void send_raw_message(const std::string& hostname, const std::string& body);
void leave_irc_channel(Iid&& iid, const std::string& status_message, const std::string& resource);