Mercurial > libervia-backend
diff src/plugins/plugin_xep_0045.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 | f47d7c09c60b |
children | 5a131930348d |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py Fri Dec 13 05:35:24 2013 +0100 +++ b/src/plugins/plugin_xep_0045.py Wed Dec 11 17:16:53 2013 +0100 @@ -187,7 +187,7 @@ def getMUCService(self, profile): """Return the MUC service or None""" muc_service = None - for service in self.host.memory.getServerServiceEntities("conference", "text", profile): + for service in self.host.memory.getServerServiceEntities("conference", "text", profile=profile): if not ".irc." in service.userhost(): #FIXME: #This awfull ugly hack is here to avoid an issue with openfire: the irc gateway