diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-30 18:50:01 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-30 18:50:01 -0400 |
| commit | a356546fc706b2ade758e7f42069e6d669330421 (patch) | |
| tree | 1da521415b6fe99eddbbb395a95f4b5a154de18c /ui/lib/store | |
| parent | 1eec6338e1146439b1dbc6207843fbc44dd13088 (diff) | |
Coalesce adjacent messages by the same author into runs, to consolidate message display.
Diffstat (limited to 'ui/lib/store')
| -rw-r--r-- | ui/lib/store/messages.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/lib/store/messages.js b/ui/lib/store/messages.js index 931b8fb..7d1fbe1 100644 --- a/ui/lib/store/messages.js +++ b/ui/lib/store/messages.js @@ -17,9 +17,6 @@ export class Messages { for (let { channel, id, at, sender, body } of messages) { this.inChannel(channel).push({ id, at, sender, body, }); } - for (let channel in this.channels) { - this.channels[channel].sort((a, b) => a.at - b.at); - } return this; } |
