Skip to content

Conversation

@FGadvancer
Copy link
Collaborator

🅰 Please add the issue ID after "Fixes #"

Fixes #

FGadvancer and others added 30 commits August 2, 2024 19:21
…enimsdk#633)

* bump: update go mod dependency version to latest. (openimsdk#632)

* refactor: optimize conversation notification structure.

* optmize donotification structure in conversation.

* remove unnecessary contents.

* update log level and unnecessary wrap.

* fix: update uncorrect contents.

* feat: update go mod dependency version to latest.

* fix: accept or refuse group application remove lock. (openimsdk#634)

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync user error.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove wasm file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change limit int type avoid overflow and group member sorted.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk logout due to client kick online, incr sync data trigger full id.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation list will disappear when conversation version table has been deleted in server.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation will deadlock when sync data logging.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: sdk update log version to v0.0.49-alpha.60.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
* bump: update go mod dependency version to latest. (openimsdk#632)

* refactor: optimize conversation notification structure.

* optmize donotification structure in conversation.

* remove unnecessary contents.

* update log level and unnecessary wrap.

* fix: update uncorrect contents.

* feat: update go mod dependency version to latest.

* fix: accept or refuse group application remove lock. (openimsdk#634)

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync user error.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove wasm file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change limit int type avoid overflow and group member sorted.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk logout due to client kick online, incr sync data trigger full id.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation list will disappear when conversation version table has been deleted in server.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation will deadlock when sync data logging.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: sdk update log version to v0.0.49-alpha.60.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve get list is nil when batch fetch. (openimsdk#635)

* refactor: optimize conversation notification structure.

* optmize donotification structure in conversation.

* remove unnecessary contents.

* update log level and unnecessary wrap.

* fix: update uncorrect contents.

* feat: update go mod dependency version to latest.

* fix: solve get list is nil when batchfetch.

* update get logic.

* fix: filter Invalid. (openimsdk#636)

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
…penimsdk#747 openimsdk#748 openimsdk#750 openimsdk#752 openimsdk#754 openimsdk#755 openimsdk#756 PRs into pre-release-v3.8.2 (openimsdk#758)

* feat: implement error stack print. (openimsdk#733)

* feat: implement error stack print.

* feat: update fn call error stack.

* update go mod.

* feat: Support FetchSurroundingMessages (openimsdk#741)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* feat: FetchSurroundingMessages

* feat: FetchSurroundingMessages

* feat: mark all conversation as read (openimsdk#743)

* build: implement create Pre-release PR from Milestone. (openimsdk#746)

* feat: implement create Pre-release PR from Milestone.

* update schedule time.

* fix: remove duplicate License. (openimsdk#747)

* build: implement changelog generate. (openimsdk#748)

* fix: improve release generate file.

* refactor: improve changelog structure.

* update goreleaser

* feat: implement changelog generate.

* remove README.md
use generate.

* fix: version (openimsdk#750)

* fix: update the latest message when group member's changed. (openimsdk#752)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: del local group request (openimsdk#754)

* feat: implement default logger when no init. (openimsdk#755)

* fix: improve batchUserFaceURLandName logic. (openimsdk#756)

* refactor: update ServerAPI method name.

* feat: improve batchUserFaceURLandName logic.

* update logic.

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
Co-authored-by: chao <48119764+withchao@users.noreply.github.com>
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
…rror". (openimsdk#762) (openimsdk#763)

Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
…Rs into pre-release-v3.8.2 (openimsdk#768)

* fix: fix temp file don't remove when upload file. (openimsdk#764)

* build: improve cleanup after ms PR merged.

* fix: fix temp file don't remove when upload file.

* Fix local cache: user cache and group member cache (openimsdk#765)

* fix: group member local cache

* fix: user local cache

* fix: Change check reinstall logic (openimsdk#766)

* fix: check reinstall

* fix: check reinstall

* fix: GetGroupMembersInfoFunc (openimsdk#767)

---------

Co-authored-by: Monet Lee <monet_lee@163.com>
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>
…penimsdk#774)

* fix: deleting the last message in a conversation will prompt failure (openimsdk#771)

* fix: the bug where isEnd for fetching message history is not working correctly. (openimsdk#773)

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: qmarliu <liu6uu@163.com>
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: remove unused contents.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: err

* fix: err

* fix: err

* fix: err

* fix: err
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
…enimsdk#795)

Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
)

* feat: improve merge in milestone logic.

* update cleanup milestone.
…mo3et from openimsdk#794]

feat: improve merge in milestone and merged handle logic. [Created by @mo3et from openimsdk#794]
* feat: improve merge in milestone logic.

* update cleanup milestone.

* build: fix release args.

* build: update PR body.
…nimsdk#803)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: OpenIM-Gordon <1432970085@qq.com>
…nimsdk#802)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: OpenIM-Gordon <1432970085@qq.com>
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
…penimsdk#812)

* fix: go mod dep repo update and fix reverse fetch message duplicate. (openimsdk#810)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change some tips.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change some tips.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: Add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: login user's info maybe empty when app reinstall. (openimsdk#814)

* fix: login user's info maybe empty when app reinstall.

* fix: login user's info maybe empty when app reinstall.

* fix: login user's info maybe empty when app reinstall.

* fix: add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
mo3et and others added 20 commits May 29, 2025 15:19
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
…ifies them through webhook after sending the message

(cherry picked from commit c4fc131)
…ifies them through webhook after sending the message
fix: the sent message is modified by webhook and cannot be synchronized
…cAndTriggerReinstallMsgs func in pre-release-v3.8.4. (openimsdk#1001)
…k#1010)

* fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func in pre-release-v3.8.4.

* fix: add safe submodule in workflows in pre-release-v3.8.4.
… local deletion when the seq is 0 in pre-release-v3.8.4. (openimsdk#1028)
* fix: add register message.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add args

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: pressure test add.

* fix: test file.

* fix:  send  message concurrent.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add pressure.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: restore message.

* fix: pressure message.

* fix: add timer.

* fix: message update.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix:add range login.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix:update.

* fix: update.

* fix: update.

* fix:update

* fix: update

* fix: update

* fix: update.

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add wait time.

* fix: message

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: update batchMsgListener func.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: config update.

* chore:do not send message.

* chore:add args.

* chore:fix bug.

* chore: fix bool.

* chore: restore.

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove c wrapper.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove some functions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove some functions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: Support FetchSurroundingMessages (#741)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* feat: FetchSurroundingMessages

* feat: FetchSurroundingMessages

* fix: version (#750)

* merge: update release-v3.8 with main changes

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: update the latest message when group member's changed.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* Revert "fix: update the latest message when group member's changed."

This reverts commit ac358cb4e1f152403905610dc5c1366bb20c3bb3.

* fix: update the latest message when group member's changed. (#752)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove duplicate License. (#747)

* feat: mark all conversation as read (#743)

* feat: implement default logger when no init. (#755)

* fix: del local group request (#754)

* build: implement changelog generate. (#748)

* fix: improve release generate file.

* refactor: improve changelog structure.

* update goreleaser

* feat: implement changelog generate.

* remove README.md
use generate.

* build: implement create Pre-release PR from Milestone. (#746)

* feat: implement create Pre-release PR from Milestone.

* update schedule time.

* feat: implement error stack print. (#733)

* feat: implement error stack print.

* feat: update fn call error stack.

* update go mod.

* fix: improve batchUserFaceURLandName logic. (#756)

* refactor: update ServerAPI method name.

* feat: improve batchUserFaceURLandName logic.

* update logic.

* fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762)

* Fix local cache: user cache and group member cache (#765)

* fix: group member local cache

* fix: user local cache

* fix: fix temp file don't remove when upload file. (#764)

* build: improve cleanup after ms PR merged.

* fix: fix temp file don't remove when upload file.

* fix: GetGroupMembersInfoFunc (#767)

* feat: searchLocalMessages by SenderUserID. (#739)

* feat: searchLocalMessages by SenderUserID.

* update wasm db interface and fix error.

* add searchBykeyword logic.

* update wasm para.

* update logic.

* feat: improve method implement.

* update logic.

* try empty

* update sql query space.

* fix: Change check reinstall logic (#766)

* fix: check reinstall

* fix: check reinstall

* feat: support stream message (#770)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* feat: support stream messages

* feat: support stream messages

* fix: deleting the last message in a conversation will prompt failure (#771)

* fix: the bug where isEnd for fetching message history is not working correctly. (#773)

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve uncorrect log. (#777)

* refactor: improve createMessage and sendMessage interface. (#734)

* add .gitignore content.

* refactor: improve createMessage and sendMessage interface.

* fix interface args.

* fix nil pointer error.

* fix test error.

* refactor: remove batchListener. (#729)

* refactor: remove batchListener.

* comment update version file workflows.

* restore code.

* revert workflow file.

* fix: update to correct msgListener.

---------

Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>

* Create delete-users-invalid-comments.yml

* Update workflows.

* fix: solve uncorrect delete file. (#784)

* build: remove uncorrect schedule. (#782)

* build: add bot PR merged filter. (#788)

* Fix:Change check reinstall logic (#789)

* fix: err

* fix: err

* fix: err

* fix: err

* fix: err

* fix: msg status change to success when msg fetch from server.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create index failed when table name has `-`. (#793)

* feat: improve merge in milestone and merged handle logic. (#794)

* feat: improve merge in milestone logic.

* update cleanup milestone.

* build: update PR body. (#796)

* feat: improve merge in milestone logic.

* update cleanup milestone.

* build: fix release args.

* build: update PR body.

* fix: change errs to custom errs avoid sdk panic. (#801)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change errs to custom errs avoid sdk panic. (#800)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: get reverse history message change. (#804)

* fix: change errs to custom errs avoid sdk panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: get reverse history message change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: the SDK interface using the pb protocol to replace json.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: go mod dep repo update and fix reverse fetch message duplicate. (#810)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add server isEnd determination criteria for message retrieval. (#813)

* fix: add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: login user's info maybe empty when app reinstall. (#814)

* fix: login user's info maybe empty when app reinstall.

* fix: login user's info maybe empty when app reinstall.

* fix: login user's info maybe empty when app reinstall.

* fix: add server isEnd determination criteria for message retrieval. (#815)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: search message do not filter voice message when keyword is empty. (#819)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: Add black api add lock (#822)

* fix: cicd (#824)

* fix: quote message change to revoke message when app from background to foreground and message status update. (#825)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message. (#827)

* fix: quote message change to revoke message when app from background to foreground and message status update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: the SDK interface using the pb protocol to replace json.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#832)

* fix: quote message change to revoke message when app from background to foreground and message status update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: the SDK interface using the pb protocol to replace json.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove fetch messages instead of search message clear cache.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove fetch messages instead of search message clear cache. (#834)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. (#840)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* build: improve workflows contents. (#842)

* build: improve workflows contents.

* update workflows contents.

* update

* Update LICENSE

* Update LICENSE

* Update README.md

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. (#845)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve uncorrect delete conversation. (#848)

* fix: wrong error code sometimes (#847)

* fix: wrong error code sometimes

* fix: keep error message

* optimize the freeze caused by too many friends and group applications (#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* fix: add random prefix to remove duplicate messages. (#850)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: GetConversationIDBySessionType 返回的字符串带转义符 (#844)

* style: update context initialization in GetConversationIDBySessionType.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* docs:  readme doc update and add doc for gomobile compile sdk core. (#854)

* docs: update readme file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* docs: go mobile readme update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* build: fix merge failed when conflict. (#855)

* build: fix merge failed when conflict.

* revert to previous name.

* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#856)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: update slack link in repo. (#860)

* fix: sync self conversation's avatar when user's info changed. (#870)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add a manually triggered IM message synchronization mechanism to… (#868)

* fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: directly deduplicate the messages pulled from the server. (#873)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: get group member info maybe failed. (#880)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change secret && cicd modify secret (#884)

* feat: sdk not init and not login code (#888)

* refactor: change the login and initialization logic to prevent the SD… (#889)

* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: integ test

* fix: integ test

* fix: integ test

* fix: integ test

* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove some unused functions and struct.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: icey-yu <1186114839@qq.com>

* fix: add mutex for get conversation prevent concurrent insert conversation. (#893)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900)

* refactor: revert createMsg interface. (#902)

* refactor: improve workflows by merge and release (#912)

* update new milestone

* refactor: improve workflows contents by milestone PR.

* update to args.

* update workflows contents.

* refactor: change conversation channel to priority queue and adjust strategy of message sync. (#916)

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve incorrect args in CreateMsg method. (#918)

* Update LICENSE

* Update README.md

* Update README_zh-CN.md

* feat: optimize notification triggering (#927)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* feat: optimize notification triggering

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. (#935)

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation. (#923)

* fix: recycle javascript promise function manually to prevent memory leaks.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* Revert "fix: recycle javascript promise function manually to prevent memory leaks."

This reverts commit 051f83ad03041feecf9f6f3f980bf75b12219053.

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: recycle javascript promise function manually to prevent memory leaks. (#922)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: SyncLoginUserInfo

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: withchao <993506633@qq.com>

* feat: wasm support application layer ping (#936)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* feat: optimize notification triggering

* fix: wasm support application layer ping

# Conflicts:
#	internal/interaction/ws_js.go

* feat: Add StopGoroutineOnBackground whether to stop goroutines when s… (#939)

* feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add SetListener in NewSendMsgUser (#957)

* feat: improve milestone merge workflows. (#958)

* fix: refactor friend request and group request handling by removing l… (#960)

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: group member sync and unread trigger.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: message sync logic restore.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: Can`t send notification in import_friend (#969)

* fix: new msg syncer init

* fix: FriendApplicationApprovedNotification

* docs: create gomobile android ios setup EN docs. (#975)

* Update README.md

* Update gomobile-android-ios-setup.md

* Update gomobile-android-ios-setup-cn.md

* fix: solve lose uid kv when incr Sync. (#976)

* fix: solve lose uid kv when incr Sync.

* Update logic.

* update var.

* docs: add ndk sugguest version `20.1.5948944`(`r20b`). (#981)

* feat: Implement sdk releaser workflows (#980)

* feat: Implement sdk releaser workflows

* remove unused yaml.

* support dispatch tag.

* fix: remove new line in update version file. (#988)

* fix: update wasm archive have wasm_exec.js. (#993)

* fix: the sent message is modified by webhook and cannot be synchronized (#992)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* feat: optimize notification triggering

* fix: wasm support application layer ping

# Conflicts:
#	internal/interaction/ws_js.go

* feat: supports directly modifying local messages after the server modifies them through webhook after sending the message

* feat: supports directly modifying local messages after the server modifies them through webhook after sending the message

* fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func. (#999)

* fix: solve incorrect distinct in IncrSync.

* refactor: remove goroutine in syncAndTriggerReinstallMsgs function.

* remove unuse transfer map.

* update shortFuncName check in userRelated.

* fix: set correct resp in sendMsgToServer (#1013)

* fix: add safe submodule in workflows. (#1008)

* Update CHANGELOG for release v3.8.3 (#836)

* feat: testing program that simulates various scenarios of sending messages. (#593)

* fix: user goroutine did not exit when ws dial because of token invalid or expired

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: err message update

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: panic recover

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: avoid panic when local don't have message

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: test args change

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: some messages seq is zero,filter this message and print exception info

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: user online status pb change

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: add sdk user send message

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: add sdk user send message

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync conversation panic when some groups deleted in server that user joined groups.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk trigger token expired callback

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk remove group sync concurrent,maybe cause sync group members failed.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: do not update group message when get user info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: private chat notification update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change the conversation to synchronous retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: split pull message.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: user status online add to main func.

* fix: pull notifications.

* fix: pull notifications.

* fix: message update latest icon and name when first sync message.

* fix: message update latest icon and name when first sync message.

* fix: message update latest icon and name when first sync message.

* fix: stranger user model add wasm set func.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: stranger user model add wasm set func.

* tes: change num of sender.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create a group, group members greater than 5000 report an error

* fix: remove stranger func in user model.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change project module name.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add doc generator.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* tes: test file update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: pressure test file update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: remove get newest seq for pressure test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: remove get newest seq for pressure test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: remove get newest seq for pressure test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: change ws heartbeat.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: change ws heartbeat.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: change ws heartbeat.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: change ws heartbeat.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: change ws heartbeat.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: change ws heartbeat.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: change ws heartbeat.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: parser update.

* fix: parse get right arg's decl location.

* test: file path update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: repeated trigger conversation changed.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: message unread count remove when user not in group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add parse source code of go to doc.

* feat: add parse source code of go to doc.

* fix: parse file update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: parse file update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: ping pong handler remove.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: pressure test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: msg test.

* fix: add register message.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add args

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: pressure test add.

* fix: test file.

* fix:  send  message concurrent.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add pressure.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: restore message.

* fix: pressure message.

* fix: add timer.

* fix: message update.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix:add range login.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix:update.

* fix: update.

* fix: update.

* fix:update

* fix: update

* fix: update

* fix: update.

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add wait time.

* fix: message

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: update batchMsgListener func.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: config update.

* chore:do not send message.

* chore:add args.

* chore:fix bug.

* chore: fix bool.

* chore: restore.

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove c wrapper.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove some functions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove some functions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: withchao <993506633@qq.com>

* fix: update TriggerCmdSyncData args. (#595)

* fix: upload failure due to time expiration (#554)

* fix: GroupApplicationAcceptedNotification

* fix: GroupApplicationAcceptedNotification

* fix: upload file error

* fix: remove wasm file. (#596)

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync user error.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove wasm file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change limit int type avoid overflow and group member sorted. (#597)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: split sync data and notification cmd and add some heartbeat log. (#598)

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync user error.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove wasm file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change limit int type avoid overflow and group member sorted.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk logout due to client kick online, incr sync data trigger full id. (#601)

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync user error.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove wasm file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change limit int type avoid overflow and group member sorted.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk logout due to client kick online, incr sync data trigger full id.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: log support system type and ex (#600)

* feat: log support system type and ex

* fix: system type

* feat: implement checkConversation seq. (#602)

* feat: implement checkConversation seq.

* update method contents and remove unnecessary method.

* update error wrap.

* chore: remove some unnecessary contents & add .gitignore (#603)

* feat: implement checkConversation seq.

* update method contents and remove unnecessary method.

* update error wrap.

* remove .DS_Store

* update .gitignore

* remove unnecessry method.

* update method.

* feat: update method to adapted the corresponding parms. (#599)

* feat: update method to adapted the corresponding parms.

* fix: recovery need struct.

* update api parms to pb struct.

* feat: protocol (#607)

* feat: online status subscription (#606)

* fix: GroupApplicationAcceptedNotification

* fix: GroupApplicationAcceptedNotification

* online status

* online status

* online status

* feat: update msg Sync by Reinstalled trigger const. (#608)

* update trigger const.

* feat: implement more accurate progress.

* optimize method implement.

* update conversation List logic.

* update method logic.

* update conversation logic.

* update BatchInsertMessageList.

* update addProgress to private.

* Fix logs upload (#604)

* feat: log support system type and ex

* fix: system type

* fix: log upload

* feat: log test

* fix: err

* Fix syncmsg (#609)

* feat: protocol

* feat: sync msg

* feat: sync msg

* feat: sync msg

* fix: go mod

* fix: conversation list will disappear when conversation version table has been deleted in server. (#610)

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync user error.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove wasm file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change limit int type avoid overflow and group member sorted.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk logout due to client kick online, incr sync data trigger full id.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conver…
…fix/merge-v3.8.4

# Conflicts:
#	docs/CHANGELOG-3.8.md
#	docs/README.md
#	internal/conversation_msg/api.go
#	internal/conversation_msg/delete.go
#	internal/group/server_api.go
#	internal/interaction/ws_js.go
#	internal/relation/server_api.go
@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 15, 2025
@FGadvancer FGadvancer enabled auto-merge November 15, 2025 17:22
@FGadvancer FGadvancer added this pull request to the merge queue Nov 17, 2025
Merged via the queue into openimsdk:main with commit 4377f14 Nov 17, 2025
4 checks passed
@FGadvancer FGadvancer deleted the main-fix/merge-v3.8.4 branch November 17, 2025 02:47
Dx-zuo pushed a commit to Dx-zuo/openim-sdk-core that referenced this pull request Dec 6, 2025
* bump: update go mod dependency version to latest. (#632) (#633)

* bump: update go mod dependency version to latest. (#632)

* refactor: optimize conversation notification structure.

* optmize donotification structure in conversation.

* remove unnecessary contents.

* update log level and unnecessary wrap.

* fix: update uncorrect contents.

* feat: update go mod dependency version to latest.

* fix: accept or refuse group application remove lock. (#634)

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync user error.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove wasm file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change limit int type avoid overflow and group member sorted.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk logout due to client kick online, incr sync data trigger full id.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation list will disappear when conversation version table has been deleted in server.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation will deadlock when sync data logging.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: sdk update log version to v0.0.49-alpha.60.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>

* feat: merge main bug fix to main. (#637)

* bump: update go mod dependency version to latest. (#632)

* refactor: optimize conversation notification structure.

* optmize donotification structure in conversation.

* remove unnecessary contents.

* update log level and unnecessary wrap.

* fix: update uncorrect contents.

* feat: update go mod dependency version to latest.

* fix: accept or refuse group application remove lock. (#634)

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync user error.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove wasm file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change limit int type avoid overflow and group member sorted.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sdk logout due to client kick online, incr sync data trigger full id.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation list will disappear when conversation version table has been deleted in server.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation will deadlock when sync data logging.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: sdk update log version to v0.0.49-alpha.60.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve get list is nil when batch fetch. (#635)

* refactor: optimize conversation notification structure.

* optmize donotification structure in conversation.

* remove unnecessary contents.

* update log level and unnecessary wrap.

* fix: update uncorrect contents.

* feat: update go mod dependency version to latest.

* fix: solve get list is nil when batchfetch.

* update get logic.

* fix: filter Invalid. (#636)

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>

* deps: Merge  #733 #741 #743 #746 #747 #748 #750 #752 #754 #755 #756 PRs into pre-release-v3.8.2 (#758)

* feat: implement error stack print. (#733)

* feat: implement error stack print.

* feat: update fn call error stack.

* update go mod.

* feat: Support FetchSurroundingMessages (#741)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* feat: FetchSurroundingMessages

* feat: FetchSurroundingMessages

* feat: mark all conversation as read (#743)

* build: implement create Pre-release PR from Milestone. (#746)

* feat: implement create Pre-release PR from Milestone.

* update schedule time.

* fix: remove duplicate License. (#747)

* build: implement changelog generate. (#748)

* fix: improve release generate file.

* refactor: improve changelog structure.

* update goreleaser

* feat: implement changelog generate.

* remove README.md
use generate.

* fix: version (#750)

* fix: update the latest message when group member's changed. (#752)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: del local group request (#754)

* feat: implement default logger when no init. (#755)

* fix: improve batchUserFaceURLandName logic. (#756)

* refactor: update ServerAPI method name.

* feat: improve batchUserFaceURLandName logic.

* update logic.

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
Co-authored-by: chao <48119764+withchao@users.noreply.github.com>
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762) (#763)

Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>

* deps: Merge  #764 #765 #766 #767 PRs into pre-release-v3.8.2 (#768)

* fix: fix temp file don't remove when upload file. (#764)

* build: improve cleanup after ms PR merged.

* fix: fix temp file don't remove when upload file.

* Fix local cache: user cache and group member cache (#765)

* fix: group member local cache

* fix: user local cache

* fix: Change check reinstall logic (#766)

* fix: check reinstall

* fix: check reinstall

* fix: GetGroupMembersInfoFunc (#767)

---------

Co-authored-by: Monet Lee <monet_lee@163.com>
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>

* deps: Merge  #771 #773 PRs into pre-release-v3.8.2 (#774)

* fix: deleting the last message in a conversation will prompt failure (#771)

* fix: the bug where isEnd for fetching message history is not working correctly. (#773)

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: qmarliu <liu6uu@163.com>
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve uncorrect log. (#777)

* fix: remove unused contents. (#780)

* fix: remove unused contents.

* fix: msg status change to success when msg fetch from server.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* build: remove uncorrect schedule. (#782)

* fix: solve uncorrect delete file. (#784)

* build: add bot PR merged filter. (#788)

* Fix:Change check reinstall logic (#789)

* fix: err

* fix: err

* fix: err

* fix: err

* fix: err

* fix: remove unused import file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* build: update clean after milestone pr.

* fix: create index failed when table name has `-`. (#793) (#795)

Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: improve merge in milestone and merged handle logic. (#794)

* feat: improve merge in milestone logic.

* update cleanup milestone.

* build: update PR body. (#796)

* feat: improve merge in milestone logic.

* update cleanup milestone.

* build: fix release args.

* build: update PR body.

* fix: change errs to custom errs avoid sdk panic. (#801) (#803)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: OpenIM-Gordon <1432970085@qq.com>

* fix: change errs to custom errs avoid sdk panic. (#800) (#802)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: OpenIM-Gordon <1432970085@qq.com>

* fix: get reverse history message change. (#805)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: the SDK interface using the pb protocol to replace json.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add server isEnd determination criteria for message retrieval. (#812)

* fix: go mod dep repo update and fix reverse fetch message duplicate. (#810)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change some tips.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change some tips.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: Add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: login user's info maybe empty when app reinstall. (#816)

* fix: login user's info maybe empty when app reinstall. (#814)

* fix: login user's info maybe empty when app reinstall.

* fix: login user's info maybe empty when app reinstall.

* fix: login user's info maybe empty when app reinstall.

* fix: add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: search message do not filter voice message when keyword is empty. (#820)

* fix: search message do not filter voice message when keyword is empty.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: search message do not filter voice message when keyword is empty.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: quote message change to revoke message when app from background to foreground and message status update. (#826)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message. (#828)

* fix: quote message change to revoke message when app from background to foreground and message status update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#833)

* fix: quote message change to revoke message when app from background to foreground and message status update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: the SDK interface using the pb protocol to replace json.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove fetch messages instead of search message clear cache. (#835)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change field systemType to appFramework.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* build: improve workflows contents. (#843)

* fix: refine exception message handling to prevent duplicate messages … (#841)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* optimize the freeze caused by too many friends and group applications && fix: GetConversationIDBySessionType returns a string with escape characters. (#853)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* style: update start message id.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* optimize the freeze caused by too many friends and group applications (#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* fix: GetConversationIDBySessionType returns a string with escape characters.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: chao <48119764+withchao@users.noreply.github.com>

* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#857)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* style: update start message id.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* optimize the freeze caused by too many friends and group applications (#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* fix: GetConversationIDBySessionType returns a string with escape characters.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: chao <48119764+withchao@users.noreply.github.com>

* fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. (#869)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: sync self conversation's avatar when user's info changed. (#871)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: directly deduplicate the messages pulled from the server. (#874)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: get group member info maybe failed. (#881)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync. (#914)

* refactor: change the login and initialization logic to prevent the SD… (#889) (#890)

* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.



* fix: integ test

* fix: integ test

* fix: integ test

* fix: integ test

* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.



* refactor: remove some unused functions and struct.



---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: icey-yu <1186114839@qq.com>

* fix: add mutex for get conversation prevent concurrent insert conversation. (#894)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. (#895)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: support client config

* feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900)

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: icey-yu <1186114839@qq.com>
Co-authored-by: withchao <993506633@qq.com>
Co-authored-by: chao <48119764+withchao@users.noreply.github.com>
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>

* merge: merge code into v3.8.4 from main. (#917)

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: msg test.

* fix: add register message.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add args

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: pressure test add.

* fix: test file.

* fix:  send  message concurrent.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add pressure.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: restore message.

* fix: pressure message.

* fix: add timer.

* fix: message update.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix:add range login.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix:update.

* fix: update.

* fix: update.

* fix:update

* fix: update

* fix: update

* fix: update.

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add wait time.

* fix: message

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: update batchMsgListener func.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: config update.

* chore:do not send message.

* chore:add args.

* chore:fix bug.

* chore: fix bool.

* chore: restore.

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: listener add empty implement avoid panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add sync pool to reduce cpu and memory overhead.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: conversation's latestMsg struct unmarshal err type.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: msg test update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create group add error info.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* test: ip change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: group add online rate.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove c wrapper.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove some functions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove some functions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: Support FetchSurroundingMessages (#741)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* feat: FetchSurroundingMessages

* feat: FetchSurroundingMessages

* fix: version (#750)

* merge: update release-v3.8 with main changes

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: update the latest message when group member's changed.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* Revert "fix: update the latest message when group member's changed."

This reverts commit ac358cb4e1f152403905610dc5c1366bb20c3bb3.

* fix: update the latest message when group member's changed. (#752)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: remove duplicate License. (#747)

* feat: mark all conversation as read (#743)

* feat: implement default logger when no init. (#755)

* fix: del local group request (#754)

* build: implement changelog generate. (#748)

* fix: improve release generate file.

* refactor: improve changelog structure.

* update goreleaser

* feat: implement changelog generate.

* remove README.md
use generate.

* build: implement create Pre-release PR from Milestone. (#746)

* feat: implement create Pre-release PR from Milestone.

* update schedule time.

* feat: implement error stack print. (#733)

* feat: implement error stack print.

* feat: update fn call error stack.

* update go mod.

* fix: improve batchUserFaceURLandName logic. (#756)

* refactor: update ServerAPI method name.

* feat: improve batchUserFaceURLandName logic.

* update logic.

* fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762)

* Fix local cache: user cache and group member cache (#765)

* fix: group member local cache

* fix: user local cache

* fix: fix temp file don't remove when upload file. (#764)

* build: improve cleanup after ms PR merged.

* fix: fix temp file don't remove when upload file.

* fix: GetGroupMembersInfoFunc (#767)

* feat: searchLocalMessages by SenderUserID. (#739)

* feat: searchLocalMessages by SenderUserID.

* update wasm db interface and fix error.

* add searchBykeyword logic.

* update wasm para.

* update logic.

* feat: improve method implement.

* update logic.

* try empty

* update sql query space.

* fix: Change check reinstall logic (#766)

* fix: check reinstall

* fix: check reinstall

* feat: support stream message (#770)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* feat: support stream messages

* feat: support stream messages

* fix: deleting the last message in a conversation will prompt failure (#771)

* fix: the bug where isEnd for fetching message history is not working correctly. (#773)

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: the bug where isEnd for fetching message history is not working correctly.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve uncorrect log. (#777)

* refactor: improve createMessage and sendMessage interface. (#734)

* add .gitignore content.

* refactor: improve createMessage and sendMessage interface.

* fix interface args.

* fix nil pointer error.

* fix test error.

* refactor: remove batchListener. (#729)

* refactor: remove batchListener.

* comment update version file workflows.

* restore code.

* revert workflow file.

* fix: update to correct msgListener.

---------

Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>

* Create delete-users-invalid-comments.yml

* Update workflows.

* fix: solve uncorrect delete file. (#784)

* build: remove uncorrect schedule. (#782)

* build: add bot PR merged filter. (#788)

* Fix:Change check reinstall logic (#789)

* fix: err

* fix: err

* fix: err

* fix: err

* fix: err

* fix: msg status change to success when msg fetch from server.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: create index failed when table name has `-`. (#793)

* feat: improve merge in milestone and merged handle logic. (#794)

* feat: improve merge in milestone logic.

* update cleanup milestone.

* build: update PR body. (#796)

* feat: improve merge in milestone logic.

* update cleanup milestone.

* build: fix release args.

* build: update PR body.

* fix: change errs to custom errs avoid sdk panic. (#801)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change errs to custom errs avoid sdk panic. (#800)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: get reverse history message change. (#804)

* fix: change errs to custom errs avoid sdk panic.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: get reverse history message change.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: the SDK interface using the pb protocol to replace json.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: go mod dep repo update and fix reverse fetch message duplicate. (#810)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add server isEnd determination criteria for message retrieval. (#813)

* fix: add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add server isEnd determination criteria for message retrieval.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: login user's info maybe empty when app reinstall. (#814)

* fix: login user's info maybe empty when app reinstall.

* fix: login user's info maybe empty when app reinstall.

* fix: login user's info maybe empty when app reinstall.

* fix: add server isEnd determination criteria for message retrieval. (#815)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: search message do not filter voice message when keyword is empty. (#819)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: Add black api add lock (#822)

* fix: cicd (#824)

* fix: quote message change to revoke message when app from background to foreground and message status update. (#825)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message. (#827)

* fix: quote message change to revoke message when app from background to foreground and message status update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: the SDK interface using the pb protocol to replace json.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#832)

* fix: quote message change to revoke message when app from background to foreground and message status update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: add a function to quickly retrieve the context messages for a given message.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: the SDK interface using the pb protocol to replace json.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove fetch messages instead of search message clear cache.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove fetch messages instead of search message clear cache. (#834)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. (#840)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* build: improve workflows contents. (#842)

* build: improve workflows contents.

* update workflows contents.

* update

* Update LICENSE

* Update LICENSE

* Update README.md

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. (#845)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve uncorrect delete conversation. (#848)

* fix: wrong error code sometimes (#847)

* fix: wrong error code sometimes

* fix: keep error message

* optimize the freeze caused by too many friends and group applications (#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* fix: add random prefix to remove duplicate messages. (#850)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: GetConversationIDBySessionType 返回的字符串带转义符 (#844)

* style: update context initialization in GetConversationIDBySessionType.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* docs:  readme doc update and add doc for gomobile compile sdk core. (#854)

* docs: update readme file.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* docs: go mobile readme update.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* build: fix merge failed when conflict. (#855)

* build: fix merge failed when conflict.

* revert to previous name.

* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#856)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* chore: update slack link in repo. (#860)

* fix: sync self conversation's avatar when user's info changed. (#870)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add a manually triggered IM message synchronization mechanism to… (#868)

* fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: directly deduplicate the messages pulled from the server. (#873)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: get group member info maybe failed. (#880)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: change secret && cicd modify secret (#884)

* feat: sdk not init and not login code (#888)

* refactor: change the login and initialization logic to prevent the SD… (#889)

* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: integ test

* fix: integ test

* fix: integ test

* fix: integ test

* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: remove some unused functions and struct.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: icey-yu <1186114839@qq.com>

* refactor: change the login and initialization logic to prevent the SD… (#889) (#890)

* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.



* fix: integ test

* fix: integ test

* fix: integ test

* fix: integ test

* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.



* refactor: remove some unused functions and struct.



---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: icey-yu <1186114839@qq.com>

* fix: add mutex for get conversation prevent concurrent insert conversation. (#893)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add mutex for get conversation prevent concurrent insert conversation. (#894)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. (#895)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: support client config

* feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900)

* feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900)

* refactor: revert createMsg interface. (#902)

* refactor: improve workflows by merge and release (#912)

* update new milestone

* refactor: improve workflows contents by milestone PR.

* update to args.

* update workflows contents.

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync. (#916)

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change conversation channel to priority queue and adjust strategy of message sync.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: chao <48119764+withchao@users.noreply.github.com>
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
Co-authored-by: qmarliu <liu6uu@163.com>
Co-authored-by: skiffer-git <72860476+skiffer-git@users.noreply.github.com>
Co-authored-by: yoyoIU <yoyo930021@gmail.com>
Co-authored-by: 秋叶红 <793983383@qq.com>
Co-authored-by: icey-yu <1186114839@qq.com>
Co-authored-by: withchao <993506633@qq.com>

* Update LICENSE

* fix: SyncLoginUserInfo

* fix: wasm support application layer ping

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. (#937)

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. (#935)

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation. (#923)

* fix: recycle javascript promise function manually to prevent memory leaks.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* Revert "fix: recycle javascript promise function manually to prevent memory leaks."

This reverts commit 051f83ad03041feecf9f6f3f980bf75b12219053.

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: recycle javascript promise function manually to prevent memory leaks. (#922)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: SyncLoginUserInfo

* fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: withchao <993506633@qq.com>
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve incorrect args in CreateMsg method. (#918)

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: withchao <993506633@qq.com>
Co-authored-by: Monet Lee <monet_lee@163.com>

* V3.8.4 watch dog (#940)

* feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

---------

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* feat: optimize notification triggering (#927)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* feat: optimize notification triggering

(cherry picked from commit 2d65e55e470767539e14a12282612ed757d54e90)

* fix: send msg callback

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. (#961)

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: group member sync and unread trigger.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: update method args. (#962)

* fix: message sync logic restore.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* refactor: change sync strategy of group request and friend request.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: solve incr sync in get GroupMeber List. (#978)

* feat: create sdk releaser workflows in pre-release-v3.8.4 branch. (#983)

* fix: update version file in sdk releaser (#984)

* fix: remove new line in update version file in pre-release-v3.8.4. (#990)

* fix: update wasm archive have wasm_exec.js in pre-release-v3.8.4 branch. (#996)

* feat: supports directly modifying local messages after the server modifies them through webhook after sending the message

(cherry picked from commit c4fc131309323f2e4632fd1f18dc088b82ff66b4)

* feat: supports directly modifying local messages after the server modifies them through webhook after sending the message

* fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func in pre-release-v3.8.4. (#1001)

* fix: add safe submodule in workflows in pre-release-v3.8.4. (#1010)

* fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func in pre-release-v3.8.4.

* fix: add safe submodule in workflows in pre-release-v3.8.4.

* fix: resolve SQL injection in SearchLocalMessages in pre-release-v3.8.4 (#1024)

* fix: Resolved the issue where the delete message method only performs local deletion when the seq is 0 in pre-release-v3.8.4. (#1028)

* fix: delete sending failed msg

* feat: merge opensource code into v3.8.4 from main. (#1058)

* fix: add register message.

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: add args

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single message test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>

* fix: single mes…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants