From 4bd65f3c91938bd81fbae9ad688270b580bf6767 Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Thu, 16 Mar 2023 15:25:02 +0100 Subject: [PATCH] Bump versions 16-03-23 --- frontend/Pages/HomePage/NotificationsFeed/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/Pages/HomePage/NotificationsFeed/index.tsx b/frontend/Pages/HomePage/NotificationsFeed/index.tsx index 142fc9b..8d27e89 100644 --- a/frontend/Pages/HomePage/NotificationsFeed/index.tsx +++ b/frontend/Pages/HomePage/NotificationsFeed/index.tsx @@ -79,6 +79,12 @@ export const NotificationsFeed: React.FC = () => { useEffect(() => { if (database && pubKeys.length > 0) { getUsers(database, { includeIds: pubKeys }).then(setUsers) + relayPool?.subscribe('notification-users', [ + { + kinds: [Kind.Metadata], + authors: pubKeys.filter((key, index, array) => array.indexOf(key) === index), + }, + ]) } }, [pubKeys])