From a356546fc706b2ade758e7f42069e6d669330421 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 30 Oct 2024 18:50:01 -0400 Subject: Coalesce adjacent messages by the same author into runs, to consolidate message display. --- ui/lib/store/messages.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'ui/lib/store/messages.js') 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; } -- cgit v1.2.3