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

When the backend sends a message through RestAPI, there is no ex field, and after adding more ex fields to send the message, the front end cannot receive the ex field.

Open BobBaoDengKe opened this issue 1 year ago • 2 comments

What happened?

后端通过RestAPI发送消息时,文档没有ex字段,发送者自己额外发送ex字段后,前端通过websocket也未拿到ex字段。

前端通过jssdk发送消息时是有ex字段的,使用docker部署,openim-server release-v3.4

image

What did you expect to happen?

希望发布新版本,加上ex字段

How can we reproduce it (as minimally and precisely as possible)?

Anything else we need to know?

No response

version

```console $ {name} version # paste output here 这个镜像版本:openim-server release-v3.4

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

BobBaoDengKe avatar Mar 20 '24 06:03 BobBaoDengKe

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.

kubbot avatar Mar 20 '24 06:03 kubbot

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.

kubbot avatar May 27 '24 08:05 kubbot

I recommend updating to release-v3.8. If you run into any new issues, please reopen this issue or create a new one.

skiffer-git avatar Sep 27 '24 02:09 skiffer-git

{ "sendID": "openIMAdmin", "recvID": "2839678182", "groupID": "", "senderNickname": "openIMAdmin-Gordon", "senderFaceURL": "http://www.head.com", "senderPlatformID": 1, "content": { "content": "hello!!" }, "contentType": 101, "sessionType": 1, "isOnlineOnly": false, "notOfflinePush": false, "sendTime": 1695212630740, "offlinePushInfo": { "title": "send message", "desc": "", "ex": "", "iOSPushSound": "default", "iOSBadgeCount": true }, "ex": "ex" }

skiffer-git avatar Sep 27 '24 02:09 skiffer-git