mock-foundation / moc

A (really) native and powerful macOS and iPadOS Telegram client, optimized for moderating large communities and personal use. Currently in alpha
GNU General Public License v3.0
126 stars 7 forks source link

Crash on Moc's session being remotely terminated #98

Closed voltangle closed 2 years ago

voltangle commented 2 years ago

When Moc is running, and its session was terminated by another device, it just outright crashes

Reason

The reason is the handling of AuthorizationState.closed state and the reinstantiation of the TDLib instance, which, as we see, fails miserably.

voltangle commented 2 years ago

After a bit of research, it turns out that it actually crashes when starting it up after the session was ended when Moc was closed