stream-chat-swift icon indicating copy to clipboard operation
stream-chat-swift copied to clipboard

Mute intervals for channels doesn't seem to work

Open eugene-krinitsyn opened this issue 1 year ago • 2 comments

I Called func muteChannel(expiration: Int? = nil, completion: ((Error?) -> Void)? = nil) providing expiration parameter, which resulted API call /moderation/mute/channel with "expiration":28800 in it's body. The call resulted with a success, all the controllers received an update and the UI state changed to the respective one. Although, after relaunching the app stream client synchronised with the API and received notifications_muted set to false from /channels/<cid> endpoint, which resulted the respective 'unmuted' UI state.

GetStream Environment

GetStream Chat version: 4.56.1 GetStream Chat frameworks: StreamChat, StreamChatSwiftUI iOS version: 17.4, 17.5.1 Swift version: 5.10 Xcode version: 15.3 Device: iOS Simulator, iPhone 13 Pro

eugene-krinitsyn avatar Jun 06 '24 16:06 eugene-krinitsyn