Skip to content

Instantly share code, notes, and snippets.

let matrixClient = global.get("matrixClient['@wuast94:3ddruckbremen.de']");
let matrixOnline = global.get("matrixClientOnline['@wuast94:3ddruckbremen.de']");
if (!matrixOnline) {
msg.error = 'Matrix client not connected.';
return [null, msg];
}
async function getMessageContentWithReaction(roomId, reactionEventId) {
try {