chore: cleanup chat links

This commit is contained in:
2024-08-27 14:11:23 +01:00
parent 2c58239e2c
commit 8f0b1d3f66
10 changed files with 23 additions and 133 deletions

View File

@ -182,7 +182,7 @@ self.addEventListener("notificationclick", event => {
}
} else if (ev.type === PushType.DirectMessage) {
const reaction = ev.data as CompactReaction;
return `/messages/${encodeTLVEntries("chat4" as NostrPrefix, {
return `/messages/${encodeTLVEntries(NostrPrefix.Chat17, {
type: TLVEntryType.Author,
value: reaction.author.pubkey,
length: 32,