turms-im / turms

🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs
Apache License 2.0
1.74k stars 268 forks source link

关于private-conversation的sequenceId的疑问 #1496

Closed lovemianhuatang closed 3 months ago

lovemianhuatang commented 3 months ago

我开启了 use-sequence-id-for-group-conversation=true use-sequence-id-for-private-conversation=true

在private-conversation中的sequenceId是targetId用户为key自增吗? 目前: user1 -> user2; sequenceId=1,2,3 user3 -> user2; sequenceId=4,5,6

期望: user1 -> user2; sequenceId=1,2,3 user3 -> user2; sequenceId=1,2,3

image
JamesChenX commented 3 months ago

Thanks for reporting. Your expectation is correct, and I will fix the bug this weekend.

JamesChenX commented 3 months ago

I have fixed it in both the develop and master branches and pushed the latest images, and you can pull the latest code and images now.