diff --git a/src/components/BaseComponents/NavBar.vue b/src/components/BaseComponents/NavBar.vue
index eaf89a1b438ceddfb7ed31ad0b0ccfc8c63b0e32..e5cf16d376f645074cd5bf856fab0615e554e18e 100644
--- a/src/components/BaseComponents/NavBar.vue
+++ b/src/components/BaseComponents/NavBar.vue
@@ -84,6 +84,7 @@ export default {
   },
   created() {
     ws.on('NEW_MESSAGE', () => {
+      if(this.$router.currentRoute.value.name == 'messages') return;
       this.newMessages += 1;
     }, "header");
   }