Mercurial > libervia-backend
view src/bridge/bridge_constructor/constructors/mediawiki/mediawiki_template.tpl @ 2132:c0577837680a
core: replaced SkipHistory exception by a key in mess_data:
SkipHistory was skipping all remaining triggers just to skip history, which is not the intented behaviour.
Now history can be skipped by setting mess_data[u'history'] = C.HISTORY_SKIP, this way we won't skip importants triggers.
When history is skipped, mess_data[u'extra'][u'history'] will be set to C.HISTORY_SKIP for frontends, so they can inform user that the message is not stored locally.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 05 Feb 2017 14:55:21 +0100 |
parents | da4097de5a95 |
children |
line wrap: on
line source
[[Catégorie:Salut à Toi]] [[Catégorie:documentation développeur]] = Overview = This is an autogenerated doc for SàT bridge's API = Signals = ##SIGNALS_PART## = Methods = ##METHODS_PART## ---- ##TIMESTAMP##