Mercurial > libervia-backend
comparison plugins/plugin_xep_0045.py @ 134:7201851d9aed
plugin tarot, plugin MUC: removed print which were causing error when printing unicode string
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 16 Jul 2010 20:15:14 +0800 |
parents | 2f87651a5ad8 |
children | 9ee4a1d0d7fb |
comparison
equal
deleted
inserted
replaced
133:d998adb62d1a | 134:7201851d9aed |
---|---|
88 return False | 88 return False |
89 return True | 89 return True |
90 | 90 |
91 def __room_joined(self, room, profile): | 91 def __room_joined(self, room, profile): |
92 """Called when the user is in the requested room""" | 92 """Called when the user is in the requested room""" |
93 print "room joined (profile = %s)" % profile | |
94 room_jid = room.roomIdentifier+'@'+room.service | 93 room_jid = room.roomIdentifier+'@'+room.service |
95 self.clients[profile].joined_rooms[room_jid] = room | 94 self.clients[profile].joined_rooms[room_jid] = room |
96 self.host.bridge.roomJoined(room.roomIdentifier, room.service, [user.nick for user in room.roster.values()], room.nick, profile) | 95 self.host.bridge.roomJoined(room.roomIdentifier, room.service, [user.nick for user in room.roster.values()], room.nick, profile) |
97 | 96 |
98 def __err_joining_room(self, failure, profile): | 97 def __err_joining_room(self, failure, profile): |