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
@waybackarchiver well, yes, but no. BadMsgNotification means that all session was broken, i mean, this message should be never received from official telegram servers. if we got it, then something in package is broken.
Soooo, idk, maybe we need to leave for now... Or remove it, cause i hate panics in community modules too...
return error (or mark session is in bad state) and let app decide what to do (panic or reconnect/recreate session). at this time I've been forced to separate app logic using different processes because of mtproto panics (lost connection/BadMsgNotification whatever)
The panic in this code looks like used for debugging. I guess that should remove it?
mtproto/mtproto.go
Lines 364 to 367 in 04ee89d
The text was updated successfully, but these errors were encountered: