forked from mirror/monocles_chat_clean
disable context menu on failed jingle files. fixes #3556
This commit is contained in:
parent
af855e921b
commit
b4cf323a75
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue