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)
This commit is contained in:
parent
b674011891
commit
718bb98300
1 changed files with 373 additions and 60 deletions
|
|
@ -187,7 +187,7 @@ class XEP_0045(object):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue