From 1cafeb5ec92c1dc4ad74fbed58b15a8ab2f3c0cf Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Tue, 1 Jul 2025 15:30:44 -0400
Subject: Move the `/ch` channel view to `/c` (for conversation).

---
 ui/routes/(app)/+layout.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ui/routes/(app)/+layout.svelte')

diff --git a/ui/routes/(app)/+layout.svelte b/ui/routes/(app)/+layout.svelte
index c7e1f22..e3272bc 100644
--- a/ui/routes/(app)/+layout.svelte
+++ b/ui/routes/(app)/+layout.svelte
@@ -20,7 +20,7 @@
   onDestroy(session.end.bind(session));
 
   let pageContext = getContext('page');
-  let channel = $derived(page.params.channel);
+  let channel = $derived(page.params.conversation);
 
   let channels = $derived(session.channels);
 
@@ -60,7 +60,7 @@
     const lastActiveChannel = getLastActiveChannel();
     const inRoot = page.url.pathname === '/';
     if (inRoot && lastActiveChannel) {
-      goto(`/ch/${lastActiveChannel}`);
+      goto(`/c/${lastActiveChannel}`);
     } else if (channel) {
       setLastActiveChannel(channel || null);
     }
-- 
cgit v1.2.3

