Skip to content

Commit

Permalink
nip28: fix naming bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Oct 23, 2024
1 parent 013daae commit 5c538ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nip28.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Event, finalizeEvent } from './pure.ts'
import { ChannelCreation, ChannelHideMessage, ChannelMessage, ChannelMetadata, ChannelMuteUser } from './kinds.ts'
import { ChannelCreation, ChannelHideMessage, ChannelMessage, ChannelMetadata as KindChannelMetadata, ChannelMuteUser } from './kinds.ts'

export interface ChannelMetadata {
name: string
Expand Down Expand Up @@ -78,7 +78,7 @@ export const channelMetadataEvent = (t: ChannelMetadataEventTemplate, privateKey

return finalizeEvent(
{
kind: ChannelMetadata,
kind: KindChannelMetadata,
tags: [['e', t.channel_create_event_id], ...(t.tags ?? [])],
content: content,
created_at: t.created_at,
Expand Down

0 comments on commit 5c538ef

Please sign in to comment.