We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b63051f + cf34a72 commit 2bed86eCopy full SHA for 2bed86e
1 file changed
frontend/src/components/TradeBox/EncryptedChat/index.tsx
@@ -82,6 +82,8 @@ const EncryptedChat: React.FC<Props> = ({
82
83
const wrappedEvent = nip17.wrapEvent(slot?.nostrSecKey, recipient, content);
84
85
+ wrappedEvent.tags.push(['expiration', (wrappedEvent.created_at + 2419200).toString()]);
86
+
87
federation.roboPool.sendEvent(wrappedEvent);
88
};
89
0 commit comments