Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_app.py @ 1394:e3624cb3765d
quick_frontend: fixes personalEventHandler signature
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 25 Mar 2015 16:10:17 +0100 |
parents | 50d5d6325f62 |
children | 069ad98b360d |
comparison
equal
deleted
inserted
replaced
1393:50d5d6325f62 | 1394:e3624cb3765d |
---|---|
593 widget.update(occupant) | 593 widget.update(occupant) |
594 elif from_jid.bare == widget.target.bare: # roster contact or MUC occupant | 594 elif from_jid.bare == widget.target.bare: # roster contact or MUC occupant |
595 contact_list.setCache(from_jid, 'chat_state', to_display) | 595 contact_list.setCache(from_jid, 'chat_state', to_display) |
596 widget.update(from_jid) | 596 widget.update(from_jid) |
597 | 597 |
598 def personalEventHandler(self, sender, event_type, data): | 598 def personalEventHandler(self, sender, event_type, data, profile): |
599 """Called when a PEP event is received. | 599 """Called when a PEP event is received. |
600 | 600 |
601 @param sender (jid.JID): event sender | 601 @param sender (jid.JID): event sender |
602 @param event_type (unicode): event type, e.g. 'MICROBLOG' or 'MICROBLOG_DELETE' | 602 @param event_type (unicode): event type, e.g. 'MICROBLOG' or 'MICROBLOG_DELETE' |
603 @param data (dict): event data | 603 @param data (dict): event data |