File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/matrix-sdk/src/room Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ impl<'a> IntoFuture for SendRawStateEvent<'a> {
414
414
if Self :: should_encrypt ( room, event_type) {
415
415
use tracing:: debug;
416
416
417
- Span :: current ( ) . record ( "is_room_encrypted " , true ) ;
417
+ Span :: current ( ) . record ( "should_encrypt " , true ) ;
418
418
debug ! (
419
419
room_id = ?room. room_id( ) ,
420
420
"Sending encrypted event because the room is encrypted." ,
@@ -433,7 +433,7 @@ impl<'a> IntoFuture for SendRawStateEvent<'a> {
433
433
state_key = format ! ( "{event_type}:{state_key}" ) ;
434
434
event_type = "m.room.encrypted" ;
435
435
} else {
436
- Span :: current ( ) . record ( "is_room_encrypted " , false ) ;
436
+ Span :: current ( ) . record ( "should_encrypt " , false ) ;
437
437
}
438
438
439
439
let request = send_state_event:: v3:: Request :: new_raw (
You can’t perform that action at this time.
0 commit comments