Rename reply to comment

This commit is contained in:
Jon Staab
2024-10-24 13:05:25 -07:00
parent 627407848f
commit c349371cd5
12 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ export const GENERAL = "general"
export const MESSAGE = 209
export const REPLY = 1111
export const COMMENT = 1111
export const MEMBERSHIPS = 10209
@@ -360,7 +360,7 @@ export const readMessage = (event: TrustedEvent): Maybe<ChannelMessage> => {
}
export const channelMessages = deriveEventsMapped<ChannelMessage>(repository, {
filters: [{kinds: [MESSAGE, REPLY]}],
filters: [{kinds: [MESSAGE, COMMENT]}],
eventToItem: readMessage,
itemToEvent: item => item.event,
})