From 9b73bfab021229cb9dea7794c4e7b3b0f2f17876 Mon Sep 17 00:00:00 2001 From: Marat Al Date: Tue, 12 Nov 2024 19:13:57 +0100 Subject: [PATCH] Fixed copy/paste error Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- UTSChatAdapter/Sources/Adapter/Utils.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UTSChatAdapter/Sources/Adapter/Utils.swift b/UTSChatAdapter/Sources/Adapter/Utils.swift index b785a829..1a8aa6ce 100644 --- a/UTSChatAdapter/Sources/Adapter/Utils.swift +++ b/UTSChatAdapter/Sources/Adapter/Utils.swift @@ -221,7 +221,7 @@ extension RoomOptions { var presence = PresenceOptions() if let presenceJson = json["presence"] as? JSON { presence.enter = presenceJson["enter"] as? Bool ?? false - presence.enter = presenceJson["subscribe"] as? Bool ?? false + presence.subscribe = presenceJson["subscribe"] as? Bool ?? false } var typing = TypingOptions() if let typingJson = json["typing"] as? JSON, let timeoutMs = typingJson["timeoutMs"] as? Double {