Mercurial > libervia-backend
view sat/plugins/__init__.py @ 2880:dd650f3e070f
quick frontend(chat): prepared factorisation of merging of user moved info messages:
- new MessageWidget class, to have a common ancestor for widgets from different frontends
- new message_widgets_rev property to get reverse iterator on message widgets
- new isUserMoved method to check if a Message is a user moved info
- new handleUserMoved method to merge info message when suitable. This is code from Primitivus made generic.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 28 Mar 2019 08:39:19 +0100 |
parents | f7deb1c36b47 |
children | 11003f9f92fb |
line wrap: on
line source
# XXX: the Monkey Patch is here and not in src/__init__ to avoir issues with pyjamas compilation # TODO: remove this when changes are merged in Wokkel from sat_tmp.wokkel import install install()