Please sign in to comment.
[FIX] mail: receive message then delayed needaction notifications
Before this commit, when a user received a needaction notification on a message already stored locally, it crashed with this error: `TypeError: Cannot read property 'getThreadIDs' of undefined` This is caused by `addMessage` returning a Promise not resolved with the message when the message is not new. The returned promise should always be resolved with the message, in order to be consistent. closes #35724 Signed-off-by: Martin Geubelle (mge) <firstname.lastname@example.org>
- Loading branch information...
Showing with 67 additions and 1 deletion.