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:
Schimon Jehudah 2024-02-14 09:10:24 +00:00
commit 7d243a4186

View file

@ -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)