diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-11-10 06:33:04 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-11-10 06:33:04 +0100 |
commit | 10d528717723a72dd3240c634980a461cf9fa2df (patch) | |
tree | 51f640715c78b4d76a04a4952edb5c6a5acf6de0 /src/bridge/bridge.hpp | |
parent | 7ba2d0fb45e7466e6fb38002bf1866d1f5e39c28 (diff) | |
download | biboumi-10d528717723a72dd3240c634980a461cf9fa2df.tar.gz biboumi-10d528717723a72dd3240c634980a461cf9fa2df.tar.bz2 biboumi-10d528717723a72dd3240c634980a461cf9fa2df.tar.xz biboumi-10d528717723a72dd3240c634980a461cf9fa2df.zip |
Handle private messages, both ways
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r-- | src/bridge/bridge.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp index 93bb321..e0f4598 100644 --- a/src/bridge/bridge.hpp +++ b/src/bridge/bridge.hpp @@ -32,6 +32,7 @@ public: void join_irc_channel(const Iid& iid, const std::string& username); void send_channel_message(const Iid& iid, const std::string& body); + void send_private_message(const Iid& iid, const std::string& body); void leave_irc_channel(Iid&& iid, std::string&& status_message); /*** @@ -60,7 +61,7 @@ public: /** * Send a MUC message from some participant */ - void send_muc_message(const Iid& iid, const std::string& nick, const std::string& body); + void send_message(const Iid& iid, const std::string& nick, const std::string& body, const bool muc); /** * Send an unavailable presence from this participant */ |