From d9c6f2fc906147c9bf2d59c5a69c5067505f1f2a Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Tue, 27 Sep 2022 15:36:58 +1000 Subject: [PATCH] Fixed an issue where some data wasn't getting removed when handling an UnsendRequest --- SessionMessagingKit/Database/Models/Interaction.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SessionMessagingKit/Database/Models/Interaction.swift b/SessionMessagingKit/Database/Models/Interaction.swift index a80470272..9b850ee96 100644 --- a/SessionMessagingKit/Database/Models/Interaction.swift +++ b/SessionMessagingKit/Database/Models/Interaction.swift @@ -635,10 +635,10 @@ public extension Interaction { timestampMs: timestampMs, receivedAtTimestampMs: receivedAtTimestampMs, wasRead: (wasRead || !Variant.standardIncomingDeleted.canBeUnread), - hasMention: hasMention, + hasMention: false, expiresInSeconds: expiresInSeconds, expiresStartedAtMs: expiresStartedAtMs, - linkPreviewUrl: linkPreviewUrl, + linkPreviewUrl: nil, openGroupServerMessageId: openGroupServerMessageId, openGroupWhisperMods: openGroupWhisperMods, openGroupWhisperTo: openGroupWhisperTo