Skip to content

[BUG] web后台发送的消息体里有offlinePush,但是iOS客户端收到的OIMMessageInfo里没有offlinePush #72

@FunnyerFeng

Description

@FunnyerFeng

OpenIM Server Version

3.8.0

Operating System and CPU Architecture

macOS (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

web后台发送的消息体里有offlinePush:
wasm_exec.js:22 2025-07-23 10:55:34.199 INFO [PID:-1] [v3.8.2] [common/cmd.go:84] done cmd {"operationID": "daa49274-fd92-4eb3-8213-673b44553828", "caller": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).updateMsgStatusAndTriggerConversation:180", "cmd": "updateConversation", "value": {"ConID":"sg_1455469912","Action":1,"Args":{"conversationID":"sg_1455469912","conversationType":3,"userID":"","groupID":"1455469912","showName":"PS小明1","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{"clientMsgID":"e18b862dc31e2ea3e4408714f8b4f9fa","serverMsgID":"32dfffb2cd7fa77b3d4c531b39e3f669","createTime":1753239333113,"sendTime":1753239333297,"sessionType":3,"sendID":"1893253739","msgFrom":100,"contentType":101,"senderPlatformID":5,"senderNickname":"PS小明1","senderFaceUrl":"https://ics-im-t2.noahgrouptest.com/api/object/wmy10093/wmy10093_icrm_im.jpg\",\"groupID\":\"1455469912\",\"seq\":0,\"isRead\":false,\"status\":2,\"offlinePush\":{\"title\":\"\",\"desc\":\"\",\"ex\":\"{\\\"scene\\\":\\\"1\\\"}\",\"iOSPushSound\":\"\",\"iOSBadgeCount\":false,\"signalInfo\":\"\"},\"textElem\":{\"content\":\"12345678912345678\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":3},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1753239333297,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"msgDestructTime":0,"isMsgDestruct":false}}}

但是iOS客户端收到的OIMMessageInfo里没有offlinePush:
{"operationID": "daa49274-fd92-4eb3-8213-673b44553828", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/conversation_model.go:172", "elapsed time": "2.728542(ms)", "rows": 1, "sql": "UPDATE local_conversations SET conversation_type=3,group_id="1455469912",show_name="PS小明1",unread_count=2,latest_msg="{""clientMsgID"":""e18b862dc31e2ea3e4408714f8b4f9fa"",""serverMsgID"":""32dfffb2cd7fa77b3d4c531b39e3f669"",""createTime"":1753239333113,""sendTime"":1753239333297,""sessionType"":3,""sendID"":""1893253739"",""msgFrom"":100,""contentType"":101,""senderPlatformID"":5,""senderNickname"":""PS小明1"",""senderFaceUrl"":""https://ics-im-t2.noahgrouptest.com/api/object/wmy10093/wmy10093_icrm_im.jpg\"\",\"\"groupID\"\":\"\"1455469912\"\",\"\"seq\"\":107,\"\"isRead\"\":false,\"\"status\"\":2,\"\"attachedInfo\"\":\"\"{\\\"\"groupHasReadInfo\\\"\":{\\\"\"hasReadCount\\\"\":0,\\\"\"groupMemberCount\\\"\":3},\\\"\"isPrivateChat\\\"\":false,\\\"\"burnDuration\\\"\":0,\\\"\"hasReadTime\\\"\":0,\\\"\"isEncryption\\\"\":false,\\\"\"inEncryptStatus\\\"\":false}\"\",\"\"textElem\"\":{\"\"content\"\":\"\"12345678912345678\"\"},\"\"attachedInfoElem\"\":{\"\"groupHasReadInfo\"\":{\"\"hasReadCount\"\":0,\"\"groupMemberCount\"\":3},\"\"isPrivateChat\"\":false,\"\"burnDuration\"\":0,\"\"hasReadTime\"\":0,\"\"isEncryption\"\":false,\"\"inEncryptStatus\"\":false}}\",`latest_msg_send_time`=1753239333297,`burn_duration`=30,`ex`=\"{\"\"currentKfId\"\":\"\"1893253739\"\",\"\"groupKfStatus\"\":0,\"\"groupNo\"\":\"\"200011969\"\",\"\"groupType\"\":2,\"\"userImid\"\":\"\"2331794586\"\",\"\"userName\"\":\"\"自动化\"\"}\",`has_read_seq`=105,`msg_destruct_time`=604800 WHERE conversation_id = "sg_1455469912""}

Screenshots Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions