debug: log all room messages in verification handler to diagnose in-room verification
This commit is contained in:
@@ -103,6 +103,7 @@ pub(super) async fn on_room_verification_request(
|
||||
ev: OriginalSyncRoomMessageEvent,
|
||||
client: Client,
|
||||
) {
|
||||
slog!("[matrix-bot] DEBUG room msg from {} msgtype={:?}", ev.sender, ev.content.msgtype);
|
||||
// Only act on in-room verification request messages.
|
||||
if !matches!(ev.content.msgtype, MessageType::VerificationRequest(_)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user