diff options
author | louiz’ <louiz@louiz.org> | 2017-04-19 23:33:07 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-04-19 23:33:48 +0200 |
commit | 51696c091cc7058b05b33f1085b1246f3b5dc59f (patch) | |
tree | 9ed811ffecaf8a0a41fbacea6f23cef57497e4ef /src/bridge/bridge.hpp | |
parent | 47ff1cd3116424342c79d173d30a0f118859bc9f (diff) | |
download | biboumi-51696c091cc7058b05b33f1085b1246f3b5dc59f.tar.gz biboumi-51696c091cc7058b05b33f1085b1246f3b5dc59f.tar.bz2 biboumi-51696c091cc7058b05b33f1085b1246f3b5dc59f.tar.xz biboumi-51696c091cc7058b05b33f1085b1246f3b5dc59f.zip |
Make sure the channel is joined before trying to leave it
fix #3243
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r-- | src/bridge/bridge.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp index 1c89bd5..d8facad 100644 --- a/src/bridge/bridge.hpp +++ b/src/bridge/bridge.hpp @@ -169,7 +169,7 @@ public: /** * Send an unavailable presence from this participant */ - void send_muc_leave(const Iid& iid, std::string&& nick, const std::string& message, const bool self, const std::string& resource = ""); + void send_muc_leave(const Iid& iid, const std::string& nick, const std::string& message, const bool self, const std::string& resource = ""); /** * Send presences to indicate that an user old_nick (ourself if self == * true) changed his nick to new_nick. The user_mode is needed because |