do not loop requesting vcard when opening a chat window with ourself and we don't have a vcard stored on server

This commit is contained in:
Yann Leboulanger 2015-11-22 15:14:07 +01:00
parent c84e2c252b
commit 4d70aa91e7
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ class ConnectionVcard:
if id_ in self.groupchat_jids:
frm = self.groupchat_jids[id_]
del self.groupchat_jids[id_]
if frm and frm != our_jid:
if frm:
# Write an empty file
self._save_vcard_to_hd(frm, '')
jid, resource = gajim.get_room_and_nick_from_fjid(frm)