summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-08-08 00:46:27 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-08-08 00:46:27 +0200
commite3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b (patch)
tree454b67b3b623786e97bd4a2cc63c501621f19e97 /src/bridge/bridge.hpp
parent7d99ba8dd9aa5845741bb50d598082bb55c0adac (diff)
downloadbiboumi-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/bridge/bridge.hpp')
-rw-r--r--src/bridge/bridge.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index a75b319..b0e6a27 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -100,10 +100,9 @@ public:
*/
void send_message(const Iid& iid, const std::string& nick, const std::string& body, const bool muc);
/**
- * Send a presence of type error, from a room. This is used to indicate
- * why joining a room failed.
+ * Send a presence of type error, from a room.
*/
- void send_join_failed(const Iid& iid, const std::string& nick, const std::string& type, const std::string& condition, const std::string& text);
+ void send_presence_error(const Iid& iid, const std::string& nick, const std::string& type, const std::string& condition, const std::string& error_code, const std::string& text);
/**
* Send an unavailable presence from this participant
*/