Send presence from full JID, not bare JID
It will end up from full jid anyway and this fixes the cache lookup of the caps hash so it uses the right one.
This commit is contained in:
parent
d3af15d623
commit
ef5c9ac2be
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class XmppPresence:
|
|||
|
||||
def send(self, jid, status_message, presence_type=None, status_type=None):
|
||||
self.send_presence(pto=jid,
|
||||
pfrom=self.boundjid.bare,
|
||||
pfrom=self.boundjid,
|
||||
pshow=status_type,
|
||||
pstatus=status_message,
|
||||
ptype=presence_type)
|
||||
|
|
Loading…
Reference in a new issue