make sure that conversation is 1:1 before offering to select presence on file resend
This commit is contained in:
parent
17a326ecb4
commit
faf18982c1
1 changed files with 1 additions and 0 deletions
|
@ -1933,6 +1933,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());
|
||||
|
|
Reference in a new issue