From 486dff83b98c01b5818c632916732ee27df9034e Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Tue, 3 Sep 2024 22:23:15 -0300 Subject: [PATCH] fix: pass parameters params in ditto:zap notification --- src/controllers/api/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/notifications.ts b/src/controllers/api/notifications.ts index 00ac9930..864e54d4 100644 --- a/src/controllers/api/notifications.ts +++ b/src/controllers/api/notifications.ts @@ -70,7 +70,7 @@ const notificationsController: AppController = async (c) => { } if (types.has('ditto:zap')) { - filters.push({ kinds: [9735], '#p': [pubkey] }); + filters.push({ kinds: [9735], '#p': [pubkey], ...params }); } return renderNotifications(filters, types, params, c);