mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-18 19:37:19 +02:00
fix: include event pointer when zapping chat messages
Pass the message event as eventPointer when opening ZapWindow from chat context menu. This enables: - Event preview in the zap window - Proper window title showing "Zap [username]"
This commit is contained in:
@@ -155,6 +155,8 @@ export function ChatMessageContextMenu({
|
||||
recipientPubkey: zapConfig.recipientPubkey,
|
||||
customTags: zapConfig.customTags,
|
||||
relays: zapConfig.relays,
|
||||
// Include the message event as context for zap preview
|
||||
eventPointer: { id: event.id, author: event.pubkey },
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user