feat: add basic search dialog
This commit is contained in:
@@ -266,6 +266,12 @@ export class Ark {
|
||||
return event;
|
||||
}
|
||||
|
||||
public async getEvents(filter: NDKFilter) {
|
||||
const events = await this.ndk.fetchEvents(filter);
|
||||
if (!events) return [];
|
||||
return [...events];
|
||||
}
|
||||
|
||||
public getEventThread({
|
||||
content,
|
||||
tags,
|
||||
|
||||
Reference in New Issue
Block a user