mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Better log
This commit is contained in:
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
Block a user