print who changed the subject in the groupchat window

This commit is contained in:
Yann Leboulanger 2005-03-04 21:52:27 +00:00
parent 78773f0308
commit 1c1a11a9e3
1 changed files with 3 additions and 0 deletions

View File

@ -2758,6 +2758,9 @@ class plugin:
if not self.windows[account]['gc'].has_key(jid):
return
self.windows[account]['gc'][jid].set_subject(array[1])
if len(jids) > 1:
self.windows[account]['gc'][jid].print_conversation(\
'%s has set the subject to %s' % (jids[1], array[1]), jid)
def handle_event_bad_passphrase(self, account, array):
warning_dialog(_("Your GPG passphrase is wrong, so you are connected without your GPG key."))