From 6e6b068ae2adc8c5ef8acb633dcadfbdc3221b61 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 11 Jun 2025 12:39:28 -0400 Subject: tools/reformat --- ui/lib/session.svelte.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ui/lib/session.svelte.js') diff --git a/ui/lib/session.svelte.js b/ui/lib/session.svelte.js index 432fad2..d742dbe 100644 --- a/ui/lib/session.svelte.js +++ b/ui/lib/session.svelte.js @@ -36,7 +36,7 @@ class Message { channel, sender: users.get(sender), body, - renderedBody + renderedBody, }); } @@ -56,12 +56,12 @@ class Session { currentUser = $derived(this.remote.currentUser); users = $derived(this.remote.users.all); messages = $derived( - this.remote.messages.all.map((message) => Message.fromRemote(message, this.users)) + this.remote.messages.all.map((message) => Message.fromRemote(message, this.users)), ); channels = $derived( this.remote.channels.all.map((channel) => - Channel.fromRemote(channel, this.messages, this.local.all) - ) + Channel.fromRemote(channel, this.messages, this.local.all), + ), ); static boot({ user, users, channels, messages, resume_point, heartbeat }) { @@ -71,7 +71,7 @@ class Session { channels, messages, resumePoint: resume_point, - heartbeat + heartbeat, }); const local = l.Channels.fromLocalStorage(); return new Session(remote, local); @@ -84,7 +84,7 @@ class Session { channels, messages, resumePoint: resume_point, - heartbeat + heartbeat, }); } -- cgit v1.2.3