mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 10:57:04 +00:00
Show all messages in non-nip29 chat
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
import {readable} from "svelte/store"
|
import {readable} from "svelte/store"
|
||||||
import {now, formatTimestampAsDate, MINUTE, ago} from "@welshman/lib"
|
import {now, formatTimestampAsDate, MINUTE, ago} from "@welshman/lib"
|
||||||
import type {TrustedEvent, EventContent} from "@welshman/util"
|
import type {TrustedEvent, EventContent} from "@welshman/util"
|
||||||
import {makeEvent, getTag, MESSAGE, DELETE} from "@welshman/util"
|
import {makeEvent, MESSAGE, DELETE} from "@welshman/util"
|
||||||
import {pubkey, publishThunk} from "@welshman/app"
|
import {pubkey, publishThunk} from "@welshman/app"
|
||||||
import {slide, fade, fly} from "@lib/transition"
|
import {slide, fade, fly} from "@lib/transition"
|
||||||
import ChatRound from "@assets/icons/chat-round.svg?dataurl"
|
import ChatRound from "@assets/icons/chat-round.svg?dataurl"
|
||||||
@@ -156,10 +156,6 @@
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getTag("h", event.tags)) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
const date = formatTimestampAsDate(event.created_at)
|
const date = formatTimestampAsDate(event.created_at)
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user