Add utility script to delete stuck mention
Add utility script to delete stuck mention
Fix https://gitlab.com/gitlab-org/gitter/webapp/-/issues/2475
Testing strategy
- Have
userA
send a message with a mention touserB
->@userB heya
-
userB
does not have to be in the room
-
- For
userB
, notice the mention in the left-menu - Grab the message ID for that message for use in the command below
- Run
node ./scripts/utils/delete-unreads-for-user-in-room.js --username userB --room-uri <ROOM_URI>
- Refresh the page for
userB
and notice the mention is gone🎉
Edited by Eric Eastwood