Open dwaxweiler opened 1 year ago
@dwaxweiler What Mattermost server version are you on?
@amyblais I discovered the issue in version 7.7.1, and it is still visible after upgrading to version 7.9.1.
Thanks, opened https://mattermost.atlassian.net/browse/MM-51983.
@dwaxweiler I am trying to replicate and fix the issue. However I was not able to replicate it on my local. I deactivated the user but I am still seeing the message with archived icon under Direct Messages. Do you mean something different by user deleted
than user deactivated
?
@dwaxweiler How are you deleting the user? Hard delete through mmctl or the database?
As @sinansonmez pointed, this should not happen if the user is deactivated (the "correct" way to delete users). If you refresh the web app, does it get fixed?
@sinansonmez @larkox I deleted the user using mmctl, but I don't remember whether I deactivated them first or not.
Refreshing the web application did not help back then, but I could remove this chat via the Android app.
@larkox any suggestion on how to replicate this?
@sinansonmez This would be my guess:
That should reproduce it, but not 100% sure.
Summary
The direct message of a deleted user stays as unread.
Steps to reproduce
Maybe, steps 2 and 3 are not even necessary, but I have not test environment for trying this.
Expected behavior
User B sees nothing of user A after user A is deleted.
Observed behavior (that appears unintentional)