feat: pinned users event

This commit is contained in:
codytseng
2025-12-01 00:05:09 +08:00
parent ad016aba35
commit 7ec4835c61
10 changed files with 303 additions and 136 deletions

View File

@@ -1397,6 +1397,10 @@ class ClientService extends EventTarget {
return this.fetchReplaceableEvent(pubkey, kinds.UserEmojiList)
}
async fetchPinnedUsersList(pubkey: string) {
return this.fetchReplaceableEvent(pubkey, ExtendedKind.PINNED_USERS)
}
async updateBlossomServerListEventCache(evt: NEvent) {
await this.updateReplaceableEventCache(evt)
}