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:
parent
c84e2c252b
commit
4d70aa91e7
|
@ -510,7 +510,7 @@ class ConnectionVcard:
|
||||||
if id_ in self.groupchat_jids:
|
if id_ in self.groupchat_jids:
|
||||||
frm = self.groupchat_jids[id_]
|
frm = self.groupchat_jids[id_]
|
||||||
del self.groupchat_jids[id_]
|
del self.groupchat_jids[id_]
|
||||||
if frm and frm != our_jid:
|
if frm:
|
||||||
# Write an empty file
|
# Write an empty file
|
||||||
self._save_vcard_to_hd(frm, '')
|
self._save_vcard_to_hd(frm, '')
|
||||||
jid, resource = gajim.get_room_and_nick_from_fjid(frm)
|
jid, resource = gajim.get_room_and_nick_from_fjid(frm)
|
||||||
|
|
Loading…
Reference in New Issue