Mercurial > libervia-pubsub
changeset 469:bcbd2399bfee
mam: `server_jid` must now be used from backend
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 15 Oct 2021 18:10:11 +0200 |
parents | 445a2f67be4a |
children | a549c8e17827 |
files | sat_pubsub/mam.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_pubsub/mam.py Fri Oct 15 15:54:15 2021 +0200 +++ b/sat_pubsub/mam.py Fri Oct 15 18:10:11 2021 +0200 @@ -145,7 +145,7 @@ def forwardPEPMessage(self, mam_request, id_, elt, created): msg = domish.Element((None, 'message')) - msg['from'] = self.backend.privilege.server_jid.full() + msg['from'] = self.backend.server_jid.full() msg['to'] = mam_request.sender.full() result = msg.addElement((mam.NS_MAM, 'result')) if mam_request.query_id is not None: