remove our jid before we stringprep

This commit is contained in:
Yann Leboulanger 2005-11-03 19:00:22 +00:00
parent 099a4fc062
commit 97ed14b16b
1 changed files with 5 additions and 5 deletions

View File

@ -1257,15 +1257,15 @@ class Connection:
return
r = self.connection.getRoster().getRaw()
# Remove or jid
jid = gajim.get_jid_from_account(self.name)
if r.has_key(jid):
del r[jid]
roster = {}
for jid in r:
roster[helpers.parse_jid(jid)] = r[jid]
jid = gajim.get_jid_from_account(self.name)
if roster.has_key(jid):
del roster[jid]
self.dispatch('ROSTER', roster)
# continue connection