fix: add mutex for get conversation prevent concurrent insert convers…#894
Merged
FGadvancer merged 1 commit intoMar 25, 2025
Merged
Conversation
…ation. Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
FGadvancer
added a commit
that referenced
this pull request
Apr 18, 2025
…rategy 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>
FGadvancer
added a commit
that referenced
this pull request
Apr 21, 2025
* 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 ac358cb. * 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>
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Nov 17, 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…
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…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ation.
🅰 Please add the issue ID after "Fixes #"
Fixes #