From 271aa4e993b759df6574d93ad148e2fa80f0b675 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 19 Aug 2023 11:41:51 +0300 Subject: [PATCH] Ignore more tombstones --- portal.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/portal.go b/portal.go index 88f93b4..12031a4 100644 --- a/portal.go +++ b/portal.go @@ -786,7 +786,12 @@ func shouldIgnoreStatus(status gmproto.MessageStatusType) bool { case gmproto.MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_TEXT, gmproto.MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_RCS, gmproto.MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS, - gmproto.MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS_INFO: + gmproto.MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS_INFO, + gmproto.MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_TEXT_TO_E2EE, + gmproto.MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_E2EE_TO_TEXT, + gmproto.MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_RCS_TO_E2EE, + gmproto.MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_E2EE_TO_RCS, + gmproto.MessageStatusType_TOMBSTONE_SHOW_LINK_PREVIEWS: return true default: return false