socket and badge

This commit is contained in:
hamid zarghami
2025-07-23 14:45:57 +03:30
parent 95f3c16bb5
commit 0778ecae76
9 changed files with 86 additions and 27 deletions
+3
View File
@@ -62,6 +62,9 @@ export const useEmailEvents = (
if (handlers.onEmailRead) {
socket.on("email_read", handlers.onEmailRead);
}
if (handlers.onEmailRead) {
socket.on("email_unread", handlers.onEmailRead);
}
if (handlers.onEmailDeleted) {
socket.on("email_deleted", handlers.onEmailDeleted);