From 9ce139a6c7d36754a13c53d9c90adb09bbc48d9e Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Fri, 18 Feb 2011 17:04:27 +0100
Subject: [PATCH] ability to send messages to a group, even if it contains
 offline contacts. Fixes #6761

---
 src/dialogs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dialogs.py b/src/dialogs.py
index e12b34abeb..f2f3fc0f05 100644
--- a/src/dialogs.py
+++ b/src/dialogs.py
@@ -2756,7 +2756,7 @@ class SingleMessageWindow:
         self.close_button = self.xml.get_object('close_button')
         self.message_tv_buffer.connect('changed', self.update_char_counter)
         if isinstance(to, list):
-            jid = ', '.join( [i[0].jid + '/' + i[0].resource for i in to])
+            jid = ', '.join( [i[0].get_full_jid() for i in to])
             self.to_entry.set_text(jid)
             self.to_entry.set_sensitive(False)
         else:
-- 
GitLab