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

Add channel ownCapability variable in ChannelDetailPayload

Open ajay-simform opened this issue 3 years ago • 1 comments

What are you trying to achieve?

  • Need to access channel own_capabilities in ChannelDetailPayload
  • Please add capability variable in ChannelDetailPayload for us to access.

GetStream Environment

GetStream Chat version: 4.17.0 GetStream Chat frameworks: StreamChat, StreamChatUI iOS version: 15.5 Swift version: 5 Xcode version: 13.4.1 Device: iPhone-13

Additional context

image (5)

ajay-simform avatar Jul 04 '22 13:07 ajay-simform

Hi @ajay-simform!

This is a feature currently missing from the iOS SDK. The iOS SDK is still relying on the channel.config. If for some reason the channel.config is not enough for you, you can still access the capabilities in the extraData field. Let us know if that unblocks you.

We will let you know once we release a new version with the capabilities implemented. Keep in mind, if you use the own_capabilities from extra data right now, once we officially release this feature, that won't be available anymore in the extraData field.

Best, Nuno

nuno-vieira avatar Jul 05 '22 10:07 nuno-vieira

Hi!

The issue has been fixed in the 4.22.0 release! 🚀

Thank you for your patient!

Best, Nuno

nuno-vieira avatar Sep 27 '22 17:09 nuno-vieira