SecureDrop Client does not create seen
records for users who have never sent a reply
#1198
Labels
bug
Something isn't working
Steps to reproduce
Note: The same behavior can be observed by using two SecureDrop Clients with separate client directories.
Expected behavior
Upon sync, the client database should record that user A has seen the message or file, in the
seen_messages
orseen_files
tables.Actual behavior
The
seen
data is never added (#1197 will ensure that we still show a correct globalseen
state for the source, by interpreting the legacydownloaded
/is_read
flag Boolean; once that PR lands, there are no obvious UX implications from this issue).Notes
This is because we rely on reply attribution before we create users other than the logged in user, and we don't add
seen
records if we don't have a user to associate them with. #1157 is expected to resolve this and other issues related to user synchronization.The text was updated successfully, but these errors were encountered: