Mercurial > libervia-web
diff browser_side/panels.py @ 139:b6658f3ac8a0
browser side: own microblogs print
- our microblogs are gotten on startup and put in cache
- FillMicroblogPanel add our own microblogs from cache in a new panel
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 30 Oct 2012 00:52:30 +0100 |
parents | b145da69a218 |
children | 8635bc9db9bf |
line wrap: on
line diff
--- a/browser_side/panels.py Sun Oct 28 18:24:18 2012 +0100 +++ b/browser_side/panels.py Tue Oct 30 00:52:30 2012 +0100 @@ -99,7 +99,7 @@ if item_type=="GROUP": _new_panel = MicroblogPanel(self.host, [item]) _new_panel.setAcceptedGroup(item) - #self.host.FillMicroblogPanel(_new_panel) #XXX: cache is temporarly deactivated, need to be reworked + self.host.FillMicroblogPanel(_new_panel) self.host.bridge.call('getMassiveLastMblogs', _new_panel.massiveInsert, 'GROUP', [item], 10) elif item_type=="CONTACT": _contact = JID(item) @@ -108,7 +108,7 @@ _new_panel.historyPrint() elif item_type=="CONTACT_TITLE": _new_panel = MicroblogPanel(self.host, []) - #self.host.FillMicroblogPanel(_new_panel) #XXX: cache is temporarly deactivated, need to be reworked + self.host.FillMicroblogPanel(_new_panel) self.host.bridge.call('getMassiveLastMblogs', _new_panel.massiveInsert, 'ALL', [], 10) else: return False