open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

[BUG] When the session list is topped, a message will be sent, but I don't need this top message at the time. Sending this message will make the latestMsg of the session list become a top message, but what I actually need is to pinch or cancel the previous valid message, and it should not appear in the chat message list.

Open zzcraft1 opened this issue 1 year ago • 7 comments

OpenIM Server Version

openim-uniapp-polyfill 1.4.3

Operating System and CPU Architecture

macOS (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

Use the IMSDK.IMMethods.SetConversation method to pinch the message. Before I put it, my last message is normal, but after put it, the message is sent, causing the value of latestMsg to change, and the message that pinch and unpin appears in the message record

Screenshots Link

Image Image Image

zzcraft1 avatar Jul 30 '25 02:07 zzcraft1

Provide the corresponding logs for troubleshooting purposes. No data is typically sent from other clients, and ensure the Server is updated to the latest version.

mo3et avatar Aug 01 '25 06:08 mo3et

Provide the corresponding logs for troubleshooting purposes. No data is typically sent from other clients, and ensure the Server is updated to the latest version.

Image Image

我使用的版本是"openim-uniapp-polyfill": "^1.4.3",我使用这个sdk来进行置顶,我看官方文档中这个api是可以用来设置置顶消息,但是使用这个api进行置顶之后,他会发送一条消息,并且改变了latestMsg的内容

zzcraft1 avatar Aug 04 '25 03:08 zzcraft1

Hello, the issue you mentioned hasn’t been reproduced in our production environment or demo. Have any relevant code or configuration changes been made on your server or could you provide some logs from server and sdk?

FGadvancer avatar Aug 06 '25 02:08 FGadvancer

Hello, the issue you mentioned hasn’t been reproduced in our production environment or demo. Have any relevant code or configuration changes been made on your server or could you provide some logs from server and sdk?

It was only deployed on the domain name without any other changes. But it was also like this when I used it locally. When I used the above API to call, the SDK would output the following content.

Image

zzcraft1 avatar Aug 07 '25 01:08 zzcraft1

@FGadvancer Could you take a look at how to solve this problem?Could you take a look at how to solve this problem?

zzcraft1 avatar Aug 11 '25 03:08 zzcraft1

@mo3et @FGadvancer @OpenIM-Robot Could you take a look at how to solve this problem?Could you take a look at how to solve this problem?

zzcraft1 avatar Aug 12 '25 07:08 zzcraft1