From d8169484077c4ce25e195747602f06bce9d4ded0 Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Sun, 21 Mar 2021 11:30:04 +0100
Subject: changedRelation api event

---
 components/navbar.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'components/navbar.tsx')

diff --git a/components/navbar.tsx b/components/navbar.tsx
index f413008..d6775ee 100644
--- a/components/navbar.tsx
+++ b/components/navbar.tsx
@@ -52,6 +52,7 @@ export function NavBar() {
 		if (loggedIn) {
 			await getNotifications();
 			io.on("incomingFriendRequest", getNotifications);
+			io.on("changedRelation", getNotifications);
 		}
 
 		setGotData(true);
-- 
cgit v1.2.3

