From eeeb26469a51085bf4212d32e19867dc7977889f Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 18 Jul 2005 15:42:29 +0000 Subject: [PATCH] we do not send message to specific resource, so user must not get fooled by the GUI --- src/tabbed_chat_window.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 6b42fba50..bb6d8d07d 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -1,4 +1,4 @@ -## plugins/tabbed_chat_window.py +## tabbed_chat_window.py ## ## Gajim Team: ## - Yann Le Boulanger @@ -108,12 +108,16 @@ class TabbedChatWindow(chat.Chat): # some chars need to be escaped.. this fixes '&' name = name.replace('&', '&') + #FIXME: uncomment me when we support sending messages to specific resource # composing full jid - fulljid = jid - if self.users[jid].resource: - fulljid += '/' + self.users[jid].resource + #fulljid = jid + #if self.users[jid].resource: + # fulljid += '/' + self.users[jid].resource + #label_text = '%s\n%s' \ + # % (name, fulljid) + label_text = '%s\n%s' \ - % (name, fulljid) + % (name, jid) # setup the label that holds name and jid banner_name_label = self.xmls[jid].get_widget('banner_name_label')