do not update last status, os info and entity time in all windows with information about the user (private conversation)

This commit is contained in:
Denis Fomin 2010-12-09 13:16:52 +03:00
parent 16e63dd136
commit f358c24c62
1 changed files with 7 additions and 0 deletions

View File

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