Mercurial > libervia-backend
diff src/tools/misc.py @ 742:03744d9ebc13
plugin XEP-0033: implementation of the addressing feature:
- frontends pass the recipients in the extra parameter of sendMessage
- backend checks if the target server supports the feature (this is not done yet by prosody plugin)
- features and identities are cached per profile and server
- messages are duplicated in history for now (TODO: redesign the database)
- echos signals are also duplicated to the sender (FIXME)
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 11 Dec 2013 17:16:53 +0100 |
parents | 00318e60a06a |
children | bfabeedbf32e |
line wrap: on
line diff
--- a/src/tools/misc.py Fri Dec 13 05:35:24 2013 +0100 +++ b/src/tools/misc.py Wed Dec 11 17:16:53 2013 +0100 @@ -22,18 +22,19 @@ import sys from logging import debug, warning + class TriggerException(Exception): pass class SkipOtherTriggers(Exception): """ Exception to raise if normal behaviour must be followed instead of - followind triggers list """ + following triggers list """ pass class TriggerManager(object): - """This class manage triggers: code which interact to change de behaviour + """This class manage triggers: code which interact to change the behaviour of SàT""" MIN_PRIORITY = float('-inf')