disable context menu on failed jingle files. fixes #3556
This commit is contained in:
parent
d6835101b9
commit
01fc78d2a5
|
@ -1044,6 +1044,10 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
|
|||
return;
|
||||
}
|
||||
|
||||
if (m.getStatus() == Message.STATUS_RECEIVED && t != null && (t.getStatus() == Transferable.STATUS_CANCELLED || t.getStatus() == Transferable.STATUS_FAILED)) {
|
||||
return;
|
||||
}
|
||||
|
||||
final boolean deleted = m.isDeleted();
|
||||
final boolean encrypted = m.getEncryption() == Message.ENCRYPTION_DECRYPTION_FAILED
|
||||
|| m.getEncryption() == Message.ENCRYPTION_PGP;
|
||||
|
|
Loading…
Reference in New Issue