summaryrefslogtreecommitdiff
path: root/ui/lib/store/messages.js
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-10-30 23:26:23 -0400
committerKit La Touche <kit@transneptune.net>2024-10-30 23:26:23 -0400
commit80220d2188e0553304f2c78d225bbe275d8ba572 (patch)
treede0a62325c698197612574c7a9f37dad279581be /ui/lib/store/messages.js
parent51aabd07ca5eeaee45a564f8799cc42dc195068c (diff)
parent35b8a914b867237c9c64f33838b1e1f85fc46fb8 (diff)
Merge branch 'main' into wip/mobile
Diffstat (limited to 'ui/lib/store/messages.js')
-rw-r--r--ui/lib/store/messages.js3
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;
}