@@ -495,13 +495,13 @@ export default class DeviceListener extends TypedEventEmitter<DeviceListenerEven
495495
496496 if ( ! isCurrentDeviceTrusted ) {
497497 // the current device is not trusted: prompt the user to verify
498- logSpan . info ( "Current device not verified: showing VERIFY_THIS_SESSION toast " ) ;
498+ logSpan . info ( "Current device not verified: setting state to VERIFY_THIS_SESSION " ) ;
499499 await this . setDeviceState ( DeviceState . VERIFY_THIS_SESSION , logSpan ) ;
500500 } else if ( ! allCrossSigningSecretsCached ) {
501501 // cross signing ready & device trusted, but we are missing secrets from our local cache.
502502 // prompt the user to enter their recovery key.
503503 logSpan . info (
504- "Some secrets not cached: showing KEY_STORAGE_OUT_OF_SYNC toast " ,
504+ "Some secrets not cached: setting state to KEY_STORAGE_OUT_OF_SYNC " ,
505505 crossSigningStatus . privateKeysCachedLocally ,
506506 crossSigningStatus . privateKeysInSecretStorage ,
507507 ) ;
@@ -512,7 +512,7 @@ export default class DeviceListener extends TypedEventEmitter<DeviceListenerEven
512512 logSpan ,
513513 ) ;
514514 } else if ( ! keyBackupIsOk ) {
515- logSpan . info ( "Key backup upload is unexpectedly turned off: showing TURN_ON_KEY_STORAGE toast " ) ;
515+ logSpan . info ( "Key backup upload is unexpectedly turned off: setting state to TURN_ON_KEY_STORAGE " ) ;
516516 await this . setDeviceState ( DeviceState . TURN_ON_KEY_STORAGE , logSpan ) ;
517517 } else if ( secretStorageStatus . defaultKeyId === null ) {
518518 // The user just hasn't set up 4S yet: if they have key
@@ -522,7 +522,7 @@ export default class DeviceListener extends TypedEventEmitter<DeviceListenerEven
522522 logSpan . info ( "Recovery disabled: no toast needed" ) ;
523523 await this . setDeviceState ( DeviceState . OK , logSpan ) ;
524524 } else if ( keyBackupUploadActive ) {
525- logSpan . info ( "No default 4S key: showing SET_UP_RECOVERY toast " ) ;
525+ logSpan . info ( "No default 4S key: setting state to SET_UP_RECOVERY " ) ;
526526 await this . setDeviceState ( DeviceState . SET_UP_RECOVERY , logSpan ) ;
527527 } else {
528528 logSpan . info ( "No default 4S key but backup disabled: no toast needed" ) ;
0 commit comments