-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read & Delivered indicator #53
Comments
yes, that's one of the next features to be added |
hey! the new version has read indicators however, at the moment our backend does not support delivered indicators |
is there any example that explain this feature? |
By default, you should see all the read indicators when available. You can also override the behaviour passing a However, I'll make sure to dedicate a page in the docs for this feature |
i dont know why but |
Is the user in the |
yup, my user is always member of the channel since our app is only using one-to-one conversation |
what about this? |
Nevermind, its always null because we didn't put |
yes that's what I was saying here and yes, I'll write some specific doc thanks |
Hi - I am trying to understand if it's possible to hide the read list - I have some chat groups where this is unwieldy, but I cannot find a way to use a custom messageBuilder at the same time as a threadBuilder - seems like if you use threadBuilder then you cannot use a custom messageBuilder in the root level MessageListView. |
Hey @jamesbgl, yes currently it's not possible to use
Let us know if you face any problem 😃 |
Thanks for the quick reply! my issue is not the thread page, it's the root level that is the problem. I've got 100's of people in my readList and I do not want to show a list of avatars for the users at all. As it stands, the UI overflows and users have to download hundreds of avatar URLs which is slow and inefficient. Makes sense for me to simply not show them at this scale. My current workaround is fine but I feel it makes sense to be a config setting, I have the message_list_widget.dart imported locally and I set my readList to an empty list. My app is growing quickly so I went with a dirty hack for now. Mad respect for this plugin! |
Hey @jamesbgl messageBuilder: (context, messageDetails, messages) {
final isMyMessage = messageDetails.isMyMessage;
final index = messageDetails.index;
final isLastUser = messageDetails.isLastUser;
final messageTheme = isMyMessage
? StreamChatTheme.of(context).ownMessageTheme
: StreamChatTheme.of(context).otherMessageTheme;
return MessageWidget(
message: messageDetails.message,
messageTheme: messageTheme,
reverse: isMyMessage,
);
},
) without passing the readList. This is just an example, but you can customise it how you want |
I found if I try to have threads, then I cannot provide a custom messagebuilder. For example, if I uncomment the second line below, then threading functionality is gone completely.
|
yes, in that case you should use the property onThreadTap of the MessageWidget to navigate to your thread screen |
Got it, thank you! |
I think we need to add read & delivered indicator for one-to-one conversations, currently it only shows SendingIndicator
The text was updated successfully, but these errors were encountered: