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

[BUG] The system group chat notification has counted unread counts; setting the parameter [unreadCount] to true or false will not take effect #2248

Open
jackma11 opened this issue Apr 27, 2024 · 2 comments · May be fixed by #2266
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jackma11
Copy link

jackma11 commented Apr 27, 2024

OpenIM Server Version

release-3.7

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

test1:vim config/notification.yaml unreadCount 修改为 true
image
结果
image

test2:vim config/notification.yaml unreadCount 修改为 false
image

编译:mage
重启:mage stop && mage start

结果
image

Screenshots Link

No response

@jackma11 jackma11 added the kind/bug Categorizes issue or PR as related to a bug. label Apr 27, 2024
@kubbot kubbot changed the title [BUG] 系统群聊通知计算到了未读数; 参数 [unreadCount]设置 true 或者 false 不生效 [BUG] The system group chat notification has counted unread counts; setting the parameter [unreadCount] to true or false will not take effect Apr 27, 2024
@kubbot
Copy link
Member

kubbot commented Apr 27, 2024

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@FGadvancer FGadvancer self-assigned this Apr 29, 2024
@FGadvancer FGadvancer linked a pull request Apr 29, 2024 that will close this issue
@FGadvancer
Copy link
Collaborator

The issue mentioned previously has been fixed; however, it is important to note that there are still other issues when setting notifications' unread property to false. If the user is online, there will be no unread count, which is normal. However, if the message isn't viewed or if the user receives messages while offline and then comes online, they will still see an unread count. ⚠️ To completely resolve this issue, the server needs to implement more complex logic when synchronizing and fetching data to calculate unread counts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
3 participants