kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix notifications for replies.
Notifications for replies will no longer display as a "Media Message" if they do not contain media. Instead, they will just contain the reply text. Fixes #7798fork-5.53.8
rodzic
3a827d1c48
commit
0b1b568893
|
@ -451,6 +451,10 @@ public class MessageNotifier {
|
|||
slideDeck = ((MediaMmsMessageRecord)record).getSlideDeck();
|
||||
}
|
||||
|
||||
if (record.isMms() && ((MmsMessageRecord) record).getQuote() != null && ((MmsMessageRecord) record).getSlideDeck().getSlides().isEmpty()) {
|
||||
body = record.getDisplayBody();
|
||||
}
|
||||
|
||||
if (threadRecipients == null || !threadRecipients.isMuted()) {
|
||||
notificationState.addNotification(new NotificationItem(id, mms, recipient, conversationRecipient, threadRecipients, threadId, body, timestamp, slideDeck));
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue