Closed marcochavezf closed 9 months ago
For this, didn't Cathy already see her invite message in the first email? Why would she see it again 10 minutes later?
Ah yes, she shouldn't see the invite, just the subsequent message "Hello everyone!". I will update the steps. Also, this happens more consistently with preferences set to Daily
.
Hmm the issue wasn't closed after being deployed to production https://github.com/Expensify/Web-Expensify/pull/40300#issuecomment-1872010221
Problem
Coming from this comment in that PR, we're using the rNVP
NVP_LAST_NOTIFIED_REPORT_ACTION_TIMESTAMP
to save the timestamp of the last report action when we either runNotifyOfflineUsersAboutActivity
orNotifyReportDailyDigest
. And the problem is that we're using that rNVP value to get the messages after that timestamp here to send them as notification to the user, but that value is set at report level and not at the user level causing inconsistent summary messages for different users in the same room. i.e. if a comment is marked as read for an userA, the daily summary for userB will be the messages accumulated after the message that userA read or their daily summary was sent.Testing steps:
Expected result:
*NotifyReportDailyDigest?reportID=<reportID>*
from BJM):Actual result: