This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -297,8 +297,9 @@ export default class DeviceListener {
297
297
}
298
298
}
299
299
300
- logger . log ( "Old unverified sessions: " + Array . from ( oldUnverifiedDeviceIds ) . join ( ',' ) ) ;
301
- logger . log ( "New unverified sessions: " + Array . from ( newUnverifiedDeviceIds ) . join ( ',' ) ) ;
300
+ logger . debug ( "Old unverified sessions: " + Array . from ( oldUnverifiedDeviceIds ) . join ( ',' ) ) ;
301
+ logger . debug ( "New unverified sessions: " + Array . from ( newUnverifiedDeviceIds ) . join ( ',' ) ) ;
302
+ logger . debug ( "Currently showing toasts for: " + Array . from ( this . displayingToastsForDeviceIds ) . join ( ',' ) ) ;
302
303
303
304
// Display or hide the batch toast for old unverified sessions
304
305
if ( oldUnverifiedDeviceIds . size > 0 ) {
@@ -315,6 +316,7 @@ export default class DeviceListener {
315
316
// ...and hide any we don't need any more
316
317
for ( const deviceId of this . displayingToastsForDeviceIds ) {
317
318
if ( ! newUnverifiedDeviceIds . has ( deviceId ) ) {
319
+ logger . debug ( "Hiding unverified session toast for " + deviceId ) ;
318
320
hideUnverifiedSessionsToast ( deviceId ) ;
319
321
}
320
322
}
You can’t perform that action at this time.
0 commit comments