You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When messages are selected and marked as read or unread, the corresponding folder or alias count should be incremented or decremented.
Call the markAsUnread API when marking messages as unread.
Folder and alias counts should also be incremented when new messages are loaded in and decremented when unread messages are deleted.
API for incrementing/decrementing alias count:
constpayload={id: 'alice2022#netflix',amount: 1}// Increment count by 1. Decrement would be -1channel.send({event: 'alias:updateAliasCount', payload })
API for incrementing/decrementing folder count:
constpayload={id: 1,amount: 1}// Increment count by 1. Decrement would be -1channel.send({event: 'folder:updateFolderCount', payload })
markAsUnread
API when marking messages as unread.API for incrementing/decrementing alias count:
API for incrementing/decrementing folder count:
API for marking message as unread:
The text was updated successfully, but these errors were encountered: