Change the way threads are displayed

This commit is contained in:
Jon Staab
2024-10-23 10:20:03 -07:00
parent a382facc70
commit 00e1795d0d
6 changed files with 31 additions and 34 deletions
+2 -2
View File
@@ -50,9 +50,9 @@
<div class="col-2">
<div class="overflow-auto pt-3">
<ChannelMessage {url} {room} {event} thunk={$thunks[event.id]} showPubkey />
<ChannelMessage {url} {room} {event} thunk={$thunks[event.id]} showPubkey isThread />
{#each sortBy(e => e.created_at, $replies) as reply (reply.id)}
<ChannelMessage {url} {room} event={reply} thunk={$thunks[reply.id]} showPubkey hideParent />
<ChannelMessage {url} {room} event={reply} thunk={$thunks[reply.id]} showPubkey />
{/each}
</div>
<div class="bottom-0 left-0 right-0">