Skip to content

Add utility script to delete Matrix room

Eric Eastwood requested to merge shutdown-matrix-room into develop

Add utility script to delete Matrix room

Dev notes

Linux/macOS:

DEBUG=gitter:app:matrix-bridge:matrix-utils matrix__bridge__applicationServicePort=9001 node ./scripts/utils/shutdown-matrix-room.js --uri MadLittleMods/delete-test1

Windows:

set DEBUG=gitter:app:matrix-bridge:matrix-utils&&set matrix__bridge__applicationServicePort=9001&&node ./scripts/utils/shutdown-matrix-room.js --uri MadLittleMods/delete-test1

$ mongo gitter
$ db.matricesbridgedroom.findOne({ troupeId: db.troupes.findOne({ lcUri: 'madlittlemods/delete-test1' })._id })

Todo

  • Add execute to file in git, git update-index --chmod=+x ./scripts/utils/shutdown-matrix-room.js
Edited by Eric Eastwood

Merge request reports