feat: mute
This commit is contained in:
parent
34ff0cd314
commit
cbae26e492
26 changed files with 564 additions and 45 deletions
|
|
@ -202,6 +202,15 @@ export function createFollowListDraftEvent(tags: string[][], content?: string):
|
|||
}
|
||||
}
|
||||
|
||||
export function createMuteListDraftEvent(tags: string[][], content?: string): TDraftEvent {
|
||||
return {
|
||||
kind: kinds.Mutelist,
|
||||
content: content ?? '',
|
||||
created_at: dayjs().unix(),
|
||||
tags
|
||||
}
|
||||
}
|
||||
|
||||
export function createProfileDraftEvent(content: string, tags: string[][] = []): TDraftEvent {
|
||||
return {
|
||||
kind: kinds.Metadata,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue