Skip to content

Add utility script to delete stuck mention

Eric Eastwood requested to merge 2475-delete-stuck-mention-utility-script into develop

Add utility script to delete stuck mention

Fix https://gitlab.com/gitlab-org/gitter/webapp/-/issues/2475

Testing strategy

  1. Have userA send a message with a mention to userB -> @userB heya
    • userB does not have to be in the room
  2. For userB, notice the mention in the left-menu
  3. Grab the message ID for that message for use in the command below
  4. Run node ./scripts/utils/delete-unreads-for-user-in-room.js --username userB --room-uri <ROOM_URI>
  5. Refresh the page for userB and notice the mention is gone 🎉
Edited by Eric Eastwood

Merge request reports