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

在搜索场景下,打开聊天页面出现不能定位某条消息的情况 #509

Open
DevXieChao opened this issue Oct 8, 2024 · 2 comments

Comments

@DevXieChao
Copy link

提issue小提示

为了尽快定位问题,需要提供足够的信息,请按照我们的要求格式来提问。如果您不按照格式提问,我们将无法回复您的问题

表现现象

搜索消息,点击任意数据,跳转到聊天页,出现无法定位到这条消息,也没有闪烁提示

预期结果

定位到刚搜索点击的数据,并有闪烁提示

补充条件

偶现

排查IM无法定位某条消息-01
排查IM无法定位某条消息-02

排查代码:IM的api获取不到这个消息,获取消息数据modelList,没有此数据

NSArray *messageListOld = [[WFCCIMService sharedWFCIMService] getMessages:self.conversation contentTypes:nil from:self.highlightMessageId+1 count:35 withUser:self.privateChatUser];
猜想:有没有这种可能,highlightMessageId+1,得到的MessageId 不属于当前的User

demo对比结果
demo也存在此问题

@heavyrain2012
Copy link
Collaborator

请用上面那个提交验证是否解决了此问题

@DevXieChao
Copy link
Author

解决了这个问题,谢谢

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

No branches or pull requests

2 participants