Fix account parameter for gajim-remote handle_uri with a groupchat. Fixes #3344.

This commit is contained in:
Jean-Marie Traissard 2008-05-27 16:47:33 +00:00
parent 6c9063b702
commit 7d21a1a624
1 changed files with 4 additions and 0 deletions

View File

@ -523,6 +523,10 @@ class GajimRemote:
sys.argv[2] = jid sys.argv[2] = jid
if action == 'join': if action == 'join':
self.command = sys.argv[1] = 'join_room' self.command = sys.argv[1] = 'join_room'
# Move account parameter from position 3 to 5
sys.argv.append('')
sys.argv.append(sys.argv[3])
sys.argv[3] = ''
return return
sys.exit(0) sys.exit(0)