-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect msg/thread counters (#542)
When using mattericd's default threading, the msgMap is populated with message/thred IDs and never removed. This means that when we cycle past 4k, we can have entries with duplicate counters causing issues when replying to threads. This fixes it by introducing an index. Also, rework the way Matterircd threading works.
- Loading branch information
Showing
2 changed files
with
87 additions
and
73 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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