mirror of https://github.com/vector-im/riot-web
Better log
parent
ce68a5bfc8
commit
f605b172a7
|
@ -196,7 +196,7 @@ function setBotPower(event, roomId, userId, level) {
|
|||
return;
|
||||
}
|
||||
|
||||
console.log(`Received request to set power level for bot ${userId} in room ${roomId}.`);
|
||||
console.log(`Received request to set power level to ${level} for bot ${userId} in room ${roomId}.`);
|
||||
const client = MatrixClientPeg.get();
|
||||
if (!client) {
|
||||
sendError(event, "You need to be logged in.");
|
||||
|
|
Loading…
Reference in New Issue