Add utility script to delete Matrix room
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