Mercurial > libervia-web
comparison browser_side/contact.py @ 33:e70521e6d803
browser side, misc stuffs
- dropCell are now keep the dragover style if the mouse go on an other widget inside them
- uniBox moved to panels.py
- chatPanel now partially managed MUC Room
- room joined open in a new tab (as Tarot games)
- MainPanel & MainTabPanel are now dynamically sized in pixels
- fixed stupid bug in json callbacks management
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 14 May 2011 01:11:08 +0200 |
parents | 258dfaa1035f |
children | 7cabe3c1a5f2 |
comparison
equal
deleted
inserted
replaced
32:6b8da70b0799 | 33:e70521e6d803 |
---|---|
161 if not self.connected.has_key(jid): | 161 if not self.connected.has_key(jid): |
162 self.connected[jid] = {} | 162 self.connected[jid] = {} |
163 self.connected[jid][resource] = (availability, priority, statuses) | 163 self.connected[jid][resource] = (availability, priority, statuses) |
164 | 164 |
165 def getConnected(self): | 165 def getConnected(self): |
166 """return a list of all jid (bare jid) connected""" | 166 """return a list of all jid (bare jid) connected""" |
167 return self.connected.keys() | 167 return self.connected.keys() |
168 | 168 |
169 def isContactInGroup(self, group, contact_jid): | 169 def isContactInGroup(self, group, contact_jid): |
170 """Test if the contact_jid is in the group | 170 """Test if the contact_jid is in the group |
171 @param group: string of single group, or list of string | 171 @param group: string of single group, or list of string |