update groupchat contact instance when we get a pm presence

This commit is contained in:
Yann Leboulanger 2008-11-11 22:02:32 +00:00
parent 96ec9fb6bf
commit 5ea8598686
1 changed files with 3 additions and 0 deletions

View File

@ -1238,6 +1238,9 @@ class Interface:
contact = ctrl.contact contact = ctrl.contact
contact.show = show contact.show = show
contact.status = status contact.status = status
gc_contact = ctrl.gc_contact
gc_contact.show = show
gc_contact.status = status
uf_show = helpers.get_uf_show(show) uf_show = helpers.get_uf_show(show)
ctrl.print_conversation(_('%(nick)s is now %(status)s') % { ctrl.print_conversation(_('%(nick)s is now %(status)s') % {
'nick': nick, 'status': uf_show}, 'status') 'nick': nick, 'status': uf_show}, 'status')