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

openim-web When a user is invited to a group, the group will not be displayed on the chat list, but there will be a sound reminder when there is a message. #1993

Closed
blackwhite084 opened this issue Mar 4, 2024 · 5 comments
Assignees
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@blackwhite084
Copy link

What happened?

openim-web 用户被邀请进群时,群不显示在聊天列表上,但有消息时会有声音提醒

What did you expect to happen?

群应该在聊天列表上

How can we reproduce it (as minimally and precisely as possible)?

fix bug

Anything else we need to know?

No response

version

r 3.5

Cloud provider

no

OS version

linux

Install tools

@blackwhite084 blackwhite084 added the bug Categorizes issue or PR as related to a bug. label Mar 4, 2024
@kubbot kubbot changed the title openim-web 用户被邀请进群时,群不显示在聊天列表上,但有消息时会有声音提醒 openim-web When a user is invited to a group, the group will not be displayed on the chat list, but there will be a sound reminder when there is a message. Mar 4, 2024
@blackwhite084
Copy link
Author

原因:group_id被设置为非纯数字,导致openim-web查表的时候把group_id当成了列名。如:select xxx from xx where groupid in (gp10013123)

@kubbot
Copy link
Contributor

kubbot commented Mar 4, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Reason: group_id is set to a non-pure number, which causes openim-web to treat group_id as a column name when looking up the table. For example: select xxx from xx where groupid in (gp10013123)

@kubbot
Copy link
Contributor

kubbot commented May 4, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@skiffer-git
Copy link
Member

Could you confirm if the groupID has been restricted to only include letters and numbers?

@skiffer-git skiffer-git assigned icey-yu and unassigned FGadvancer Nov 21, 2024
@icey-yu
Copy link
Member

icey-yu commented Nov 26, 2024

This issue has been fixed in the new version. Please use the code from the new version.

@icey-yu icey-yu closed this as completed Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

6 participants