Skip to content
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

[Feature Request] 标为未读 #474

Open
Mufanc opened this issue Dec 29, 2022 · 1 comment
Open

[Feature Request] 标为未读 #474

Mufanc opened this issue Dec 29, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Mufanc
Copy link

Mufanc commented Dec 29, 2022

Is your feature request related to a problem? Please describe.
将已读消息重新标为未读

Describe the solution you'd like
已经 fork 并添加相关代码,实现方式为:将未读消息的数量设置为 1(参考 clearRoomUnread 的实现)。如果能接受这种处理方式希望可以 PR

Describe alternatives you've considered
或许在 Room 类中新增一个 markedUnread: boolean 会更合理一些?但我可能没有能力作出这种程度的修改

@Mufanc Mufanc added the enhancement New feature or request label Dec 29, 2022
@welcome
Copy link

welcome bot commented Dec 29, 2022

Thanks for opening your first issue here! Be sure to follow the issue template!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant