From 5ea85986865cb32bd6589bf4b96cba1f8d5abe85 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 11 Nov 2008 22:02:32 +0000
Subject: [PATCH] update groupchat contact instance when we get a pm presence

---
 src/gajim.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gajim.py b/src/gajim.py
index 4cfa66ff8a..ed69f496fb 100755
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -1238,6 +1238,9 @@ def handle_event_gc_notify(self, account, array):
 				contact = ctrl.contact
 				contact.show = show
 				contact.status = status
+				gc_contact = ctrl.gc_contact
+				gc_contact.show = show
+				gc_contact.status = status
 				uf_show = helpers.get_uf_show(show)
 				ctrl.print_conversation(_('%(nick)s is now %(status)s') % {
 					'nick': nick, 'status': uf_show}, 'status')
-- 
GitLab