Skip to content

Commit

Permalink
Fixed copy/paste error
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
maratal and coderabbitai[bot] authored Nov 12, 2024
1 parent 8c2fd15 commit 9b73bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UTSChatAdapter/Sources/Adapter/Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9b73bfa

Please sign in to comment.