mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix edit message showing twice in notifications.
This commit is contained in:
@@ -204,7 +204,7 @@ sealed class NotificationItem(val threadRecipient: Recipient, protected val reco
|
||||
class MessageNotification(threadRecipient: Recipient, record: MessageRecord) : NotificationItem(threadRecipient, record) {
|
||||
override val timestamp: Long = record.timestamp
|
||||
override val authorRecipient: Recipient = record.fromRecipient.resolve()
|
||||
override val isNewNotification: Boolean = notifiedTimestamp == 0L
|
||||
override val isNewNotification: Boolean = notifiedTimestamp == 0L && !record.isEditMessage
|
||||
val hasSelfMention = record.hasSelfMention()
|
||||
|
||||
private var thumbnailInfo: ThumbnailInfo? = null
|
||||
|
||||
Reference in New Issue
Block a user