fix nostr send
This commit is contained in:
parent
bd10b02d88
commit
98ad3be9ef
1 changed files with 8 additions and 0 deletions
|
|
@ -93,6 +93,14 @@ class TlvFilesStorageProcessor {
|
|||
throw new Error('Unknown metric type: ' + t)
|
||||
}
|
||||
})
|
||||
this.wrtc.attachNostrSend((initiator: SendInitiator, data: SendData, relays?: string[] | undefined) => {
|
||||
this.sendResponse({
|
||||
success: true,
|
||||
type: 'nostrSend',
|
||||
data: { initiator, data, relays },
|
||||
opId: Math.random().toString()
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
private async handleOperation(operation: TlvStorageOperation) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue