diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-05-15 00:29:30 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-05-15 00:32:31 +0200 |
commit | 7c7da2cedbd5701a849237f24407d5cb566db0b5 (patch) | |
tree | 02f19ce0e2bc8907c3d28b9c9abd353794e34eae /src/xmpp/xmpp_component.cpp | |
parent | bafde1af9f284d8d1daf001d59f4b338e5d2f922 (diff) | |
download | biboumi-7c7da2cedbd5701a849237f24407d5cb566db0b5.tar.gz biboumi-7c7da2cedbd5701a849237f24407d5cb566db0b5.tar.bz2 biboumi-7c7da2cedbd5701a849237f24407d5cb566db0b5.tar.xz biboumi-7c7da2cedbd5701a849237f24407d5cb566db0b5.zip |
"Chat message" is not the same as "any kind of message"
Diffstat (limited to 'src/xmpp/xmpp_component.cpp')
-rw-r--r-- | src/xmpp/xmpp_component.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp index b87a023..f6e1ddb 100644 --- a/src/xmpp/xmpp_component.cpp +++ b/src/xmpp/xmpp_component.cpp @@ -389,7 +389,7 @@ void XmppComponent::handle_message(const Stanza& stanza) if (kickable_error) bridge->shutdown("Error from remote client"); } - else + else if (type == "chat") { if (body && !body->get_inner().empty()) bridge->send_private_message(iid, body->get_inner()); |