feat: emoji packs
This commit is contained in:
parent
0e550d2511
commit
1e2385da3b
41 changed files with 646 additions and 59 deletions
|
|
@ -189,6 +189,12 @@ class IndexedDbService {
|
|||
})
|
||||
}
|
||||
|
||||
async getReplaceableEventByCoordinate(coordinate: string): Promise<Event | undefined | null> {
|
||||
const [kind, pubkey, ...rest] = coordinate.split(':')
|
||||
const d = rest.length > 0 ? rest.join(':') : undefined
|
||||
return this.getReplaceableEvent(pubkey, parseInt(kind), d)
|
||||
}
|
||||
|
||||
async getReplaceableEvent(
|
||||
pubkey: string,
|
||||
kind: number,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue