possible fix message deletion

This commit is contained in:
12aw 2024-02-12 15:22:20 +01:00
parent dffa2f1340
commit 91ecead83e
2 changed files with 15 additions and 13 deletions

View file

@ -15,19 +15,6 @@
"versionName": "1.7.8.9",
"outputFile": "monocles chat-1.7.8.9-git-universal-release.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "x86"
}
],
"attributes": [],
"versionCode": 16002,
"versionName": "1.7.8.9",
"outputFile": "monocles chat-1.7.8.9-git-x86-release.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
@ -41,6 +28,19 @@
"versionName": "1.7.8.9",
"outputFile": "monocles chat-1.7.8.9-git-x86_64-release.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "x86"
}
],
"attributes": [],
"versionCode": 16002,
"versionName": "1.7.8.9",
"outputFile": "monocles chat-1.7.8.9-git-x86-release.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [

View file

@ -340,6 +340,8 @@ public class UIHelper {
default:
return new Pair<>("", false);
}
} else if (message.isFileOrImage() && message.isFileDeleted()) {
return new Pair<>(context.getString(R.string.file_deleted), true);
} else if (message.getEncryption() == Message.ENCRYPTION_PGP) {
return new Pair<>(context.getString(R.string.pgp_message), true);
} else if (message.getEncryption() == Message.ENCRYPTION_DECRYPTION_FAILED) {