socket and badge
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user