Mercurial > libervia-web
comparison src/browser/sat_browser/contact_list.py @ 716:3b91225b457a
server + browser side: blogging refactoring (draft), huge commit sorry:
/!\ everything is not working yet, group blog is not working for now
- adaptation to backend changes
- frontend commons part of blog have been moved to QuickFrontend
- (editors) button "WYSIWYG edition" renamed to "preview"
- (editors) Shift + [ENTER] is now used to send a text message, [ENTER] to finish a ligne normally
- (editors) fixed modifiers handling
- global simplification, resulting of the refactoring
- with backend refactoring, we are now using PEP again, XEP-0277 compatibility is restored \o/
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 16 Aug 2015 01:51:12 +0200 |
parents | b395d1309936 |
children | 66beef5b943d |
comparison
equal
deleted
inserted
replaced
715:b2465423c76e | 716:3b91225b457a |
---|---|
153 def onDelete(self): | 153 def onDelete(self): |
154 QuickContactList.onDelete(self) | 154 QuickContactList.onDelete(self) |
155 self.host.removeListener('avatar', self.avatarListener) | 155 self.host.removeListener('avatar', self.avatarListener) |
156 | 156 |
157 def update(self): | 157 def update(self): |
158 # XXX: as update is slow, we avoid many updates on profile plugs | |
159 # and do them all at once at the end | |
160 if not self.host._profile_plugged: | |
161 return | |
158 ### GROUPS ### | 162 ### GROUPS ### |
159 _keys = self._groups.keys() | 163 _keys = self._groups.keys() |
160 try: | 164 try: |
161 # XXX: Pyjamas doesn't do the set casting if None is present | 165 # XXX: Pyjamas doesn't do the set casting if None is present |
162 _keys.remove(None) | 166 _keys.remove(None) |