Update inbox after sending a message
Also change the event name to reflect how its being used, and stop passing the message object around since it is not being used. // FREEBIE
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
extension.on('message', fetch);
|
||||
extension.on('updateInbox', fetch);
|
||||
fetch();
|
||||
setUnreadCount(storage.get("unreadCount", 0));
|
||||
|
||||
|
Reference in New Issue
Block a user