You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/linknewdevice/RustLinkMobileHandler.kt
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -51,16 +51,18 @@ class RustLinkMobileHandler(
51
51
)
52
52
// We emit Done in case the progress listener was deallocated before generate() sent the Done
53
53
_linkMobileStep.emit(LinkMobileStep.Done)
54
-
} catch (e:HumanQrGrantLoginException) {
54
+
} catch (e:HumanQrGrantLoginException.NotFound) {
55
55
Timber.tag(tag.value).w(e, "Error during QR login grant")
56
56
// Catch timeout here?
57
-
if (_linkMobileStep.value isLinkMobileStep.QrReady
58
-
&& e isHumanQrGrantLoginException.NotFound) {
57
+
if (_linkMobileStep.value isLinkMobileStep.QrReady) {
59
58
Timber.tag(tag.value).d("Emit QrRotating due to HumanQrGrantLoginException.NotFound")
0 commit comments