make sure that conversation is 1:1 before offering to select presence on file resend
This commit is contained in:
		
							parent
							
								
									b2d02e3c0f
								
							
						
					
					
						commit
						40e46ed8fa
					
				|  | @ -1694,6 +1694,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke | |||
|                 final XmppConnection xmppConnection = conversation.getAccount().getXmppConnection(); | ||||
|                 if (!message.hasFileOnRemoteHost() | ||||
|                         && xmppConnection != null | ||||
|                         && conversation.getMode() == Conversational.MODE_SINGLE | ||||
|                         && !xmppConnection.getFeatures().httpUpload(message.getFileParams().size)) { | ||||
|                     activity.selectPresence(conversation, () -> { | ||||
|                         message.setCounterpart(conversation.getNextCounterpart()); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue