diff options
author | Brian Beggs <macdiesel@speakeasy.net> | 2010-05-12 07:46:07 -0400 |
---|---|---|
committer | Brian Beggs <macdiesel@speakeasy.net> | 2010-05-12 07:46:07 -0400 |
commit | 1521a8b5c9d656ef80a4caf3d7daa86f8f504423 (patch) | |
tree | bda49cc00690314c4172d570d439223881559196 /sleekxmpp/plugins | |
parent | 70f69c180cb828f0a76b0d9a441c98036cc96fb0 (diff) | |
parent | 8515cef11734613267b1b31f543bca620beac864 (diff) | |
download | slixmpp-1521a8b5c9d656ef80a4caf3d7daa86f8f504423.tar.gz slixmpp-1521a8b5c9d656ef80a4caf3d7daa86f8f504423.tar.bz2 slixmpp-1521a8b5c9d656ef80a4caf3d7daa86f8f504423.tar.xz slixmpp-1521a8b5c9d656ef80a4caf3d7daa86f8f504423.zip |
Merge remote branch 'fritzy/master'
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r-- | sleekxmpp/plugins/xep_0045.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py index 7fc8a2bf..240e6b9a 100644 --- a/sleekxmpp/plugins/xep_0045.py +++ b/sleekxmpp/plugins/xep_0045.py @@ -147,12 +147,12 @@ class xep_0045(base.base_plugin): """ self.xmpp.event('groupchat_message', msg) - def jidInRoom(self, room, jid): - for nick in self.rooms[room]: - entry = self.rooms[room][nick] - if entry is not None and entry['jid'].full == jid: - return True - return False + def jidInRoom(self, room, jid): + for nick in self.rooms[room]: + entry = self.rooms[room][nick] + if entry is not None and entry['jid'].full == jid: + return True + return False def getRoomForm(self, room, ifrom=None): iq = self.xmpp.makeIqGet() |