mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-24 15:54:23 +01:00
feat: hydrate zap_message
This commit is contained in:
@@ -160,6 +160,8 @@ export function assembleEvents(
|
||||
if (zapSender) {
|
||||
event.zap_sender = b.find((e) => matchFilter({ kinds: [0], authors: [zapSender] }, e)) ?? zapSender;
|
||||
}
|
||||
|
||||
event.zap_message = zapRequest?.content ?? '';
|
||||
}
|
||||
|
||||
event.author_stats = stats.authors.find((stats) => stats.pubkey === event.pubkey);
|
||||
|
||||
Reference in New Issue
Block a user