print the subject only if the room is the active one
This commit is contained in:
parent
518a4877ae
commit
5d88dcbf11
|
@ -303,8 +303,9 @@ class Interface:
|
||||||
if jid in self.windows[account]['gc']:
|
if jid in self.windows[account]['gc']:
|
||||||
self.windows[account]['gc'][jid].print_conversation('Error %s: %s' % \
|
self.windows[account]['gc'][jid].print_conversation('Error %s: %s' % \
|
||||||
(array[1], array[2]), jid, tim = array[4])
|
(array[1], array[2]), jid, tim = array[4])
|
||||||
self.windows[account]['gc'][jid].set_subject(jid, \
|
if self.windows[account]['gc'][jid].get_active() == jid:
|
||||||
self.windows[account]['gc'][jid].subjects[jid])
|
self.windows[account]['gc'][jid].set_subject(jid, \
|
||||||
|
self.windows[account]['gc'][jid].subjects[jid])
|
||||||
return
|
return
|
||||||
if jid.find('@') <= 0:
|
if jid.find('@') <= 0:
|
||||||
jid = jid.replace('@', '')
|
jid = jid.replace('@', '')
|
||||||
|
|
Loading…
Reference in New Issue