Fix quote messages & friend request handling

This commit is contained in:
Niels Andriesse
2019-07-24 15:05:39 +10:00
parent 4374a902be
commit 7598830a1b
14 changed files with 46 additions and 31 deletions

View File

@@ -204,15 +204,19 @@ public class MessageSender {
}
private static boolean isPushMediaSend(Context context, Recipient recipient) {
if (!TextSecurePreferences.isPushRegistered(context)) {
return false;
}
if (recipient.isGroupRecipient()) {
return false;
}
return isPushDestination(context, recipient);
return true;
// Loki - Original code
// ========
// if (!TextSecurePreferences.isPushRegistered(context)) {
// return false;
// }
//
// if (recipient.isGroupRecipient()) {
// return false;
// }
//
// return isPushDestination(context, recipient);
// ========
}
private static boolean isGroupPushSend(Recipient recipient) {