🐞 Fixed
- Fix
ChannelDoesNotExist
error is logged byUserWatchingEventMiddleware
when channels are fetched for the first time #893 - Improve model loading performance by lazy loading expensive properties #906
- Fix possible loops when accessing controllers' data from within delegate callbacks #915
- Fix
channel.updated
events failing to parse due to missinguser
field #922
This was due to backend not sendinguser
field when the update was done by server-side auth.
✅ Added
- Introduce support for multitenancy -
teams
forUser
andteam
forChannel
are now exposed. #905 - Introduce support for pinned messages #896
- Expose
pinnedMessages
onChatChannel
which contains the last 10 pinned messages #896 - Expose
pinDetails
onChatMessage
which contains the pinning information, like the expiration date #896 - Add support for pinning and unpinning messages through
pin()
andunpin()
methods inMessageController
#896 - Add new optional
pinning: Pinning
parameter when creating a new message inChannelController
to create a new message and pin it instantly #896 - Add
lastActiveMembers
andlastActiveWatchers
toChatChannel
. The max number of entities these fields expose is configurable viaChatClientConfig.localCaching.chatChannel
#911
🔄 Changed
ChatChannel.latestMessages
now by default contains max 5 messages. You can change this setting inChatClientConfig.localCaching.chatChannel.latestMessagesLimit
#923
⛔️ Deprecated
ChatChannel
's propertiescachedMembers
andwatchers
were deprecated. UselastActiveMembers
andlastActiveWatchers
instead #911