diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-08-08 00:46:27 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-08-08 00:46:27 +0200 |
commit | e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b (patch) | |
tree | 454b67b3b623786e97bd4a2cc63c501621f19e97 /src/xmpp/xmpp_component.hpp | |
parent | 7d99ba8dd9aa5845741bb50d598082bb55c0adac (diff) | |
download | biboumi-e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b.tar.gz biboumi-e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b.tar.bz2 biboumi-e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b.tar.xz biboumi-e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b.zip |
Use generic send_presence_error() instead of almost identical specializations
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index daadbec..9f1cec3 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -172,20 +172,15 @@ public: const std::string& author, const std::string& jid_to); /** - * Send a presence type=error with a conflict element - */ - void send_nickname_conflict_error(const std::string& muc_name, - const std::string& nickname, - const std::string& jid_to); - /** * Send a generic presence error */ void send_presence_error(const std::string& muc_name, - const std::string& nickname, - const std::string& jid_to, - const std::string& type, - const std::string& condition, - const std::string& text); + const std::string& nickname, + const std::string& jid_to, + const std::string& type, + const std::string& condition, + const std::string& error_code, + const std::string& text); /** * Send a presence from the MUC indicating a change in the role and/or * affiliation of a participant |