Skip to content

Commit

Permalink
bug fix: acs change applied correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed May 14, 2023
1 parent d2a90a3 commit 9efe3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TinodeSDK/MeTopic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ open class MeTopic<DP: Codable & Mergeable>: Topic<DP, PrivateType, DP, PrivateT
case .kUpd: // pub/priv updated
getMeta(query: metaGetBuilder().withSub(user: pres.src).build())
case .kAcs: // access mode changed
if topic.updateAccessMode(ac: pres.dacs) {
if pres.tgt == nil && topic.updateAccessMode(ac: pres.dacs) {
self.store?.topicUpdate(topic: topic)
}
case .kUa: // user agent changed
Expand Down

0 comments on commit 9efe3fb

Please # to comment.