From dc73553a56efc947c882c8e989128d5224034d7f Mon Sep 17 00:00:00 2001 From: ryanzhao Date: Wed, 20 May 2020 11:12:00 +1000 Subject: [PATCH] fix for closed groups --- .../src/Loki/Protocol/Sync Messages/SyncMessagesProtocol.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/SignalServiceKit/src/Loki/Protocol/Sync Messages/SyncMessagesProtocol.swift b/SignalServiceKit/src/Loki/Protocol/Sync Messages/SyncMessagesProtocol.swift index 32ba9b714..308fc5519 100644 --- a/SignalServiceKit/src/Loki/Protocol/Sync Messages/SyncMessagesProtocol.swift +++ b/SignalServiceKit/src/Loki/Protocol/Sync Messages/SyncMessagesProtocol.swift @@ -205,6 +205,7 @@ public final class SyncMessagesProtocol : NSObject { var thread: TSGroupThread! = TSGroupThread(groupId: groupModel.groupId, transaction: transaction) if thread == nil { thread = TSGroupThread.getOrCreateThread(with: groupModel, transaction: transaction) + thread.shouldThreadBeVisible = true thread.save(with: transaction) } ClosedGroupsProtocol.establishSessionsIfNeeded(with: groupModel.groupMemberIds, in: thread, using: transaction)