summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0231
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-01-20 18:44:17 -0800
committerLance Stout <lancestout@gmail.com>2013-01-20 18:44:17 -0800
commit1f9286d39e70ef737232522ad7343ff730e9c518 (patch)
tree4fc5d6f98ffbc542d60c5a7f32d16e2888713628 /sleekxmpp/plugins/xep_0231
parent93b8e66b5d80f8042635b526efc190a15fe59271 (diff)
downloadslixmpp-1f9286d39e70ef737232522ad7343ff730e9c518.tar.gz
slixmpp-1f9286d39e70ef737232522ad7343ff730e9c518.tar.bz2
slixmpp-1f9286d39e70ef737232522ad7343ff730e9c518.tar.xz
slixmpp-1f9286d39e70ef737232522ad7343ff730e9c518.zip
Add BoB data to message and presence stanzas.
Diffstat (limited to 'sleekxmpp/plugins/xep_0231')
-rw-r--r--sleekxmpp/plugins/xep_0231/bob.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0231/bob.py b/sleekxmpp/plugins/xep_0231/bob.py
index d86a5ddf..5e1f590b 100644
--- a/sleekxmpp/plugins/xep_0231/bob.py
+++ b/sleekxmpp/plugins/xep_0231/bob.py
@@ -10,7 +10,7 @@
import logging
import hashlib
-from sleekxmpp.stanza import Iq
+from sleekxmpp.stanza import Iq, Message, Presence
from sleekxmpp.exceptions import XMPPError
from sleekxmpp.xmlstream.handler import Callback
from sleekxmpp.xmlstream.matcher import StanzaPath
@@ -36,6 +36,8 @@ class XEP_0231(BasePlugin):
self._cids = {}
register_stanza_plugin(Iq, BitsOfBinary)
+ register_stanza_plugin(Message, BitsOfBinary)
+ register_stanza_plugin(Presence, BitsOfBinary)
self.xmpp.register_handler(
Callback('Bits of Binary - Iq',