Remove chat comments and conversation pane

This commit is contained in:
Jon Staab
2024-12-04 15:35:39 -08:00
parent 7b58cdf855
commit 64916f5d29
8 changed files with 8 additions and 116 deletions
@@ -37,7 +37,6 @@
GENERAL,
tagRoom,
MESSAGE,
COMMENT,
getMembershipRoomsByUrl,
} from "@app/state"
import {setChecked} from "@app/notifications"
@@ -82,10 +81,6 @@
let previousPubkey
for (const {event} of sortBy(m => m.event.created_at, $channel?.messages || [])) {
if (event.kind === COMMENT) {
continue
}
const {id, pubkey, created_at} = event
const date = formatTimestampAsDate(created_at)
@@ -127,7 +122,7 @@
unsub = subscribePersistent({
relays: [url],
filters: [{kinds: [MESSAGE, COMMENT], "#~": [room], since: now()}],
filters: [{kinds: [MESSAGE], "#~": [room], since: now()}],
})
})