From cb1fccca7cef1f025f1aec48d3905b4605b84369 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Wed, 23 Sep 2009 21:35:27 +0200
Subject: [PATCH] fix /join command to use the same account as the one we're
 connected in the current room.

---
 src/commands/implementation.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/commands/implementation.py b/src/commands/implementation.py
index 54a13b8a2d..84a1fb4fdd 100644
--- a/src/commands/implementation.py
+++ b/src/commands/implementation.py
@@ -192,7 +192,8 @@ class GroupChatCommands(CommonCommands):
             gajim.interface.instances[self.account]['join_gc'].window.present()
         except KeyError:
             try:
-                dialogs.JoinGroupchatWindow(account=None, room_jid=jid, nick=nick)
+                dialogs.JoinGroupchatWindow(account=self.account, room_jid=jid,
+						nick=nick)
             except GajimGeneralException:
                 pass
 
-- 
GitLab