Files
mostlymatter/app
Agniva De Sarker f79b7567b1 MM-23896: Fix clearing of batched emails on user activity (#14340)
On user activity, we were clearing the job.pendingNotifications map.
But we had already created a copy of the notifications slice while
iterating the map. Therefore, if we pass the copied slice, it would
still have the old notifications which were originally deleted.

The unit tests would not catch this because it was testing the
job.pendingNotifications map and not actually checking if the email
handler was being called or not. We fix that now.

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
2020-04-28 00:59:48 +05:30
..
2020-04-08 00:52:30 -04:00
2020-04-18 00:08:57 -07:00
2020-04-18 00:08:57 -07:00
2020-04-18 00:08:57 -07:00
2020-04-18 00:08:57 -07:00
2020-04-18 00:08:57 -07:00
2020-04-18 00:08:57 -07:00
2020-04-23 13:16:18 +05:30