From f358c24c62c2628c2a8570f510ffe5cda4163abe Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Thu, 9 Dec 2010 13:16:52 +0300 Subject: [PATCH] do not update last status, os info and entity time in all windows with information about the user (private conversation) --- src/vcard.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/vcard.py b/src/vcard.py index 788146e21..a4cef6be2 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -257,11 +257,16 @@ class VcardWindow: self.update_progressbar_timeout_id = None def set_last_status_time(self, obj): + if obj.fjid != self.real_jid: + return self.fill_status_label() def set_os_info(self, obj): if self.xml.get_object('information_notebook').get_n_pages() < 5: return + if obj.fjid != self.real_jid: + print obj + return i = 0 client = '' os = '' @@ -289,6 +294,8 @@ class VcardWindow: def set_entity_time(self, obj): if self.xml.get_object('information_notebook').get_n_pages() < 5: return + if obj.fjid != self.real_jid: + return i = 0 time_s = '' while i in self.time_info: