mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 10:32:39 +00:00
Fix quote messages & friend request handling
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user