diff options
| author | Kit La Touche <kit@transneptune.net> | 2024-11-29 14:36:04 -0500 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2024-11-29 14:41:17 -0500 |
| commit | e0d93f326722609a0ba50da106ace9b7a43bbc7b (patch) | |
| tree | b2f924fc8878a29787fffb23358bcd0186e7bdd2 /ui/lib/components | |
| parent | f8ecf97e66b999882bfa8750af111e9cf73ea89c (diff) | |
Enrich channels with hasUnread attribute
This requires both the channels and messages stores to be available, so
we do it in the page file where we've got those stores handy. It's a bit
inefficient (it recreates the entire enrichedChannels array every time
one of them changes), but it'll do for now.
There's also a TODO hinting that we might want an idea of unread-count.
I think that would require a distinct idea of mentions, because we just
want "fact of unread" for general-availability channels, not "this many
messages since you were last here".
Diffstat (limited to 'ui/lib/components')
0 files changed, 0 insertions, 0 deletions
