ios-chat icon indicating copy to clipboard operation
ios-chat copied to clipboard

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

Open Voorb opened this issue 1 year ago • 2 comments

提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也存在此问题

Voorb avatar Oct 08 '24 07:10 Voorb

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

heavyrain2012 avatar Oct 08 '24 12:10 heavyrain2012

解决了这个问题,谢谢

Voorb avatar Oct 15 '24 03:10 Voorb