-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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: set_conversations
will create a unexpected data in database
#1127
Comments
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. |
This issue was closed because it has been stalled for 7 days with no activity. |
@yfPanne The issue has been resolved. Thank you for your assistance. |
/invite |
We value close connections with our users, developers, and contributors here at Open-IM-Server. With a large community and maintainer team, we're always here to help and support you. Whether you're looking to join our community or have any questions or suggestions, we welcome you to get in touch with us. Our most recommended way to get in touch is through Slack. Even if you're in China, Slack is usually not blocked by firewalls, making it an easy way to connect with us. Our Slack community is the ideal place to discuss and share ideas and suggestions with other users and developers of Open-IM-Server. You can ask technical questions, seek help, or share your experiences with other users of Open-IM-Server. In addition to Slack, we also offer the following ways to get in touch:
|
What happened?
When i call
set_conversations
to setisPrivateChat
setting, an unexpected data shows in database:The request paramter like this:
If i set two
userIDs
([1685906179542224896
,1698900783803666432
]), than the unexpected data will not shows.And also, the front end receive no notification for this conversation setting changes.
I think the server what to set
isPrivateChat
for all users that use this conversation.I have not test this issuefor group-conversation, but i think it may act like the same.
I think if you what that all the user use the same setting on 'isPrivateChat', that it's more easier to pass in just one user id instead of pass in all user id in the conversation.
What did you expect to happen?
isPrivateChat
work for all user in same conversationHow can we reproduce it (as minimally and precisely as possible)?
Just call
set_conversations
with single user id, and let settingisPrivateChat
change.Anything else we need to know?
No response
version
Cloud provider
OS version
Install tools
The text was updated successfully, but these errors were encountered: