diff options
author | louiz’ <louiz@louiz.org> | 2017-07-20 23:09:37 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-07-20 23:09:37 +0200 |
commit | f125de4833d65a83d1f550f4bfbff4d5e4c333b2 (patch) | |
tree | 2b12d105e3925b8dbe4d6d10e20d189ee31c77f0 /src/xmpp/biboumi_component.hpp | |
parent | 407f95a108c275db5e9b07398f553ab573cd46bc (diff) | |
download | biboumi-f125de4833d65a83d1f550f4bfbff4d5e4c333b2.tar.gz biboumi-f125de4833d65a83d1f550f4bfbff4d5e4c333b2.tar.bz2 biboumi-f125de4833d65a83d1f550f4bfbff4d5e4c333b2.tar.xz biboumi-f125de4833d65a83d1f550f4bfbff4d5e4c333b2.zip |
Add the possibility to invite any external JID to a room
fix #3285
Diffstat (limited to 'src/xmpp/biboumi_component.hpp')
-rw-r--r-- | src/xmpp/biboumi_component.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_component.hpp b/src/xmpp/biboumi_component.hpp index e5547f9..caf990e 100644 --- a/src/xmpp/biboumi_component.hpp +++ b/src/xmpp/biboumi_component.hpp @@ -87,6 +87,9 @@ public: const ChannelList& channel_list, std::vector<ListElement>::const_iterator begin, std::vector<ListElement>::const_iterator end, const ResultSetInfo& rs_info); void send_invitation(const std::string& room_target, const std::string& jid_to, const std::string& author_nick); +private: + void send_invitation_from_fulljid(const std::string& room_target, const std::string& jid_to, const std::string& from); +public: void accept_subscription(const std::string& from, const std::string& to); void ask_subscription(const std::string& from, const std::string& to); void send_presence_to_contact(const std::string& from, const std::string& to, const std::string& type, const std::string& id=""); |