Mercurial > libervia-backend
comparison frontends/src/primitivus/chat.py @ 325:d62eb9003375
primitivus: removed forgotten debug stuff
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 11 May 2011 19:49:55 +0200 |
parents | b1794cbb88e5 |
children | ede26abf6ca1 |
comparison
equal
deleted
inserted
replaced
324:b069055320b1 | 325:d62eb9003375 |
---|---|
204 self.host.redraw() | 204 self.host.redraw() |
205 | 205 |
206 def replaceUser(self, param_nick): | 206 def replaceUser(self, param_nick): |
207 """Add user if it is not in the group list""" | 207 """Add user if it is not in the group list""" |
208 nick = unicode(param_nick) #FIXME: should be done in DBus bridge | 208 nick = unicode(param_nick) #FIXME: should be done in DBus bridge |
209 if "facebook" in nick: | |
210 self.host.debug() | |
211 QuickChat.replaceUser(self, nick) | 209 QuickChat.replaceUser(self, nick) |
212 presents = self.present_wid.getAllValues() | 210 presents = self.present_wid.getAllValues() |
213 if nick not in presents: | 211 if nick not in presents: |
214 presents.append(nick) | 212 presents.append(nick) |
215 presents.sort() | 213 presents.sort() |