Fix account parameter for gajim-remote handle_uri with a groupchat. Fixes #3344.
This commit is contained in:
		
							parent
							
								
									6c9063b702
								
							
						
					
					
						commit
						7d21a1a624
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -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)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue