print the subject only if the room is the active one

This commit is contained in:
Yann Leboulanger 2005-04-25 22:02:26 +00:00
parent 518a4877ae
commit 5d88dcbf11
1 changed files with 3 additions and 2 deletions

View File

@ -303,6 +303,7 @@ class Interface:
if jid in self.windows[account]['gc']:
self.windows[account]['gc'][jid].print_conversation('Error %s: %s' % \
(array[1], array[2]), jid, tim = array[4])
if self.windows[account]['gc'][jid].get_active() == jid:
self.windows[account]['gc'][jid].set_subject(jid, \
self.windows[account]['gc'][jid].subjects[jid])
return