fix getting session jid. Fixes #6994

This commit is contained in:
Yann Leboulanger 2011-10-07 17:51:32 +02:00
parent 83458833c3
commit 702ea3899b
1 changed files with 1 additions and 1 deletions

View File

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