iOS Channel::getMembersByIdentity should search all Public and User Channels
What could be improved
Present implementation only searches subscribed channels for members with matching identity. For more complete results, all public and user channels could be searched.
Why should this be improved
The Android SDK provides a convenience method on the Channels class getMembersByIdentity
. It is not clear from docs whether this searches all public/user channels, only user channels, etc. This improvement would result in the iOS implementation providing the most complete possible results.
Any risks?
Risks are that performance of this method will be impacted in a chat service with a lot of public channels and active users. Another risk is that, as mentioned above, this behaviour may or may not be consistent with the iOS SDK implementation.