Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_chat.py @ 1379:da2ea16fabc6
quick_frontend: display MUC games symbols
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 20 Mar 2015 16:29:03 +0100 |
parents | 3dae6964c071 |
children | 59c48796759e |
comparison
equal
deleted
inserted
replaced
1378:3dae6964c071 | 1379:da2ea16fabc6 |
---|---|
46 raise ValueError("A group chat entity can't have a resource") | 46 raise ValueError("A group chat entity can't have a resource") |
47 self.current_target = target | 47 self.current_target = target |
48 self.type = type_ | 48 self.type = type_ |
49 self.id = "" # FIXME: to be removed | 49 self.id = "" # FIXME: to be removed |
50 self.nick = None | 50 self.nick = None |
51 self.games = {} | 51 self.games = {} # key=game name (unicode), value=instance of quick_games.RoomGame |
52 | 52 |
53 def __str__(self): | 53 def __str__(self): |
54 return u"Chat Widget [target: {}, type: {}, profile: {}]".format(self.target, self.type, self.profile) | 54 return u"Chat Widget [target: {}, type: {}, profile: {}]".format(self.target, self.type, self.profile) |
55 | 55 |
56 @staticmethod | 56 @staticmethod |