aboutsummaryrefslogtreecommitdiff
path: root/components/navbar.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-21 11:30:04 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-21 11:30:04 +0100
commitd8169484077c4ce25e195747602f06bce9d4ded0 (patch)
tree3c523fefec52e7ed801532d08bcebdd2511258c3 /components/navbar.tsx
parenteed11fd96cf1458a7a91659cdf5efafbadda1b2b (diff)
changedRelation api event
Diffstat (limited to 'components/navbar.tsx')
-rw-r--r--components/navbar.tsx1
1 files changed, 1 insertions, 0 deletions
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);