forked from sch/Slixfeed
Merge branch 'fix-caps-more' into 'master'
Send presence from full JID, not bare JID See merge request sjehuda/slixfeed!5
This commit is contained in:
commit
7d243a4186
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):
|
def send(self, jid, status_message, presence_type=None, status_type=None):
|
||||||
self.send_presence(pto=jid,
|
self.send_presence(pto=jid,
|
||||||
pfrom=self.boundjid.bare,
|
pfrom=self.boundjid,
|
||||||
pshow=status_type,
|
pshow=status_type,
|
||||||
pstatus=status_message,
|
pstatus=status_message,
|
||||||
ptype=presence_type)
|
ptype=presence_type)
|
||||||
|
|
Loading…
Reference in a new issue