From 440be57098f7100b5a78f0d4b85e1520b9b540d2 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Tue, 12 Jan 2021 16:25:19 +1100 Subject: [PATCH] Fix non-millisecond value --- .../Sending & Receiving/MessageReceiver+Handling.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift b/SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift index da2a573f7..fd7e6baab 100644 --- a/SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift +++ b/SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift @@ -270,7 +270,7 @@ extension MessageReceiver { let group = thread.groupModel let oldMembers = group.groupMemberIds // Check that the message isn't from before the group was created - guard Double(message.sentTimestamp!) > thread.creationDate.timeIntervalSince1970 else { + guard Double(message.sentTimestamp!) > thread.creationDate.timeIntervalSince1970 * 1000 else { return SNLog("Ignoring closed group update from before thread was created.") } // Check that the sender is a member of the group (before the update)