Fix non-millisecond value

This commit is contained in:
nielsandriesse 2021-01-12 16:25:19 +11:00
parent f3a4a22ed1
commit 440be57098
1 changed files with 1 additions and 1 deletions

View File

@ -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)