Skip to content

Add ability to pass in Matrix room ID to shutdown

Eric Eastwood requested to merge delete-matrix-room-by-matrix-id into develop

Add ability to pass in Matrix room ID to shutdown

Previous MR to add the shutdown utility script, !2263 (merged)

Dev notes

Linux/macOS:

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

Windows:

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

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

Merge request reports