Files
mostlymatter/model
Harrison Healey e6f67c664c MM-17071 Add mention counting when marking a post as unread (#11966)
* Add different types for different mentions

* Remove redundant THREAD_ANY and THREAD_ROOT constants

* Make PostStore.Get return thread in order

* MM-17071 Add initial version of countMentionsFromPost

* MM-17071 Refactor comment mention counting

* MM-17071 Use mention counting when marking post as unread

* Fix shadowing in tests

* Remove repeated check of user count

* Refactor code using MentionType

* Update comments around -1 return value

* Move inner functions out of countMentionsFromPost

* Remove preconditions check as separate test case

* Update comments

* Add User.GetMentionKeys

* Revert "Make PostStore.Get return thread in order"

This reverts commit 22aa010cee359655fe75e1dc899cf0ffb0943c2a.

* Fix tests

* Fix merge conflict

* Add store.MentionAllPosts
2019-09-19 10:10:10 -04:00
..
2018-06-26 17:23:13 -07:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2019-01-10 15:17:31 -05:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-03-07 12:36:40 -06:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-08-09 11:26:38 +02:00
2019-01-10 15:17:31 -05:00
2018-01-30 15:23:00 -08:00
2019-02-06 08:25:07 +01:00
2018-03-07 12:36:40 -06:00
2019-07-22 22:13:39 +02:00
2018-01-30 15:23:00 -08:00
2018-08-09 11:26:38 +02:00
2019-07-22 22:13:39 +02:00
2018-10-10 10:55:12 -07:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2019-07-22 22:13:39 +02:00
2018-11-14 11:41:20 +01:00
2018-01-30 15:23:00 -08:00
2019-07-22 22:13:39 +02:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00
2018-01-30 15:23:00 -08:00