fix getting session jid. Fixes #6994
This commit is contained in:
parent
83458833c3
commit
702ea3899b
|
@ -925,7 +925,7 @@ class ConnectionHandlersBase:
|
|||
# there won't be any sessions here if the contact terminated
|
||||
# their sessions before going offline (which we do)
|
||||
for sess in self.get_sessions(jid):
|
||||
sess_fjid = str(sess.jid)
|
||||
sess_fjid = sess.jid.getStripped()
|
||||
if sess.resource:
|
||||
sess_fjid += '/' + sess.resource
|
||||
if obj.fjid != sess_fjid:
|
||||
|
|
Loading…
Reference in New Issue