You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a config groupMessages and maxTimeIntervalBetweenMessagesInGroup to group messages. However, this doesn't work when we have custom message views. I would like to have info option on the message e.g. isRootOfGroup to see when message if first in group. That would be useful to have since I need to show avatar only for the first message in the group.
If possible, how can you achieve this currently?
There is no easy solution for this. It would involve pre-fetching messages and add meta data to them.
What would be the better way?
If you add info option on the Message object to identify, if message is the first in the group.
What are you trying to achieve?
We have a config
groupMessages
andmaxTimeIntervalBetweenMessagesInGroup
to group messages. However, this doesn't work when we have custom message views. I would like to have info option on the message e.g.isRootOfGroup
to see when message if first in group. That would be useful to have since I need to show avatar only for the first message in the group.If possible, how can you achieve this currently?
There is no easy solution for this. It would involve pre-fetching messages and add meta data to them.
What would be the better way?
If you add info option on the Message object to identify, if message is the first in the group.
GetStream Environment
GetStream Chat version: 4.45.0
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
iOS version: 17.x
Swift version: 5.9
Xcode version: 15.x
Device: iPhone
Additional context
The text was updated successfully, but these errors were encountered: