diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-03-24 21:08:09 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-03-24 21:08:09 +0100 |
commit | e47b164a43e0c4f411869fbbefe875fd70df8506 (patch) | |
tree | c2873fd778d8577403524923894ce326a058f79b /src/xmpp/xmpp_component.hpp | |
parent | cdc3183d9eb234feb2e8ca3d3019b78cce73bcf6 (diff) | |
download | biboumi-e47b164a43e0c4f411869fbbefe875fd70df8506.tar.gz biboumi-e47b164a43e0c4f411869fbbefe875fd70df8506.tar.bz2 biboumi-e47b164a43e0c4f411869fbbefe875fd70df8506.tar.xz biboumi-e47b164a43e0c4f411869fbbefe875fd70df8506.zip |
Send an error presence whenever a user tries to join an invalid room
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 373104c..d4853c8 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -87,6 +87,12 @@ public: const std::string& to, const bool self); /** + * Send an error to indicate that the user tried to join an invalid room + */ + void send_invalid_room_error(const std::string& muc_jid, + const std::string& nick, + const std::string& to); + /** * Send the MUC topic to the user */ void send_topic(const std::string& from, Xmpp::body&& xmpp_topic, const std::string& to); |