Skip to content

[Other]: Problems with deleting local app - side conversations and messages #3308

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

Open
NickFan945 opened this issue Apr 27, 2025 · 1 comment
Labels
other Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@NickFan945
Copy link

What would you like to share?

After the OpenIM server has been running for a while, due to certain reasons, the data on the server was lost. However, the conversation list and messages are still retained locally on the app side. If the app side calls the deleteConversationAndDeleteAllMsg interface to delete conversation records, it will prompt an error and cannot be deleted. Is there any other method to clear the local conversations and messages on the app side, apart from uninstalling and reinstalling the APP? I have checked your official documentation (https://docs.openim.io/zh-Hans/sdks/api/conversation/hideAllConversation) and found the prototype of the deleteAllConversationFromLocal interface, but I couldn't actually locate this interface.

openim服务器运行了一段时间后,因某些原因服务器的数据丢失了,但app端本地还保留着会话列表和消息,如果app端调用deleteConversationAndDeleteAllMsg接口,删除会话记录会提示错误导致无法删除,请问除了卸载APP重装的方法之外,有没有其它方法可以清除app端本地的会话和消息?我看了你们的官方文档(https://docs.openim.io/zh-Hans/sdks/api/conversation/hideAllConversation)有deleteAllConversationFromLocal接口的原型,但是没有找到这个接口

Additional information

No response

@NickFan945 NickFan945 added the other Indicates an issue or PR lacks a `triage/foo` label and requires one. label Apr 27, 2025
@OpenIM-Robot
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

2 participants