added automatic_message flag to GcMessageOutgoingEvent (bugfix)
This commit is contained in:
		
							parent
							
								
									10871b9a33
								
							
						
					
					
						commit
						8bfc286d8f
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -2695,6 +2695,7 @@ class GcMessageOutgoingEvent(nec.NetworkOutgoingEvent): | |||
|         self.is_loggable = True | ||||
|         self.control = None | ||||
|         self.correction_msg = None | ||||
|         self.automatic_message = True | ||||
| 
 | ||||
|     def generate(self): | ||||
|         return True | ||||
|  |  | |||
|  | @ -2021,7 +2021,8 @@ class GroupchatControl(ChatControlBase): | |||
|             gajim.nec.push_outgoing_event(GcMessageOutgoingEvent(None, | ||||
|                 account=self.account, jid=self.room_jid, message=message, | ||||
|                 xhtml=xhtml, label=label, callback=_cb, | ||||
|                 callback_args=[_cb] + [message], correction_msg=correction_msg)) | ||||
|                 callback_args=[_cb] + [message], correction_msg=correction_msg, | ||||
|                 automatic_message=False)) | ||||
|             self.msg_textview.get_buffer().set_text('') | ||||
|             self.msg_textview.grab_focus() | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue