Skip to content

Commit

Permalink
Add LOGGED_OUT to session list statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Nov 20, 2023
1 parent ca1504a commit 6e237c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/MadelineProtoExtensions/SystemApiExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ public function getSessionList(): array
case API::WAITING_CODE:
$status = 'WAITING_CODE';
break;
case API::WAITING_PASSWORD:
$status = 'WAITING_PASSWORD';
break;
case API::WAITING_SIGNUP:
$status = 'WAITING_SIGNUP';
break;
case API::WAITING_PASSWORD:
$status = 'WAITING_PASSWORD';
break;
case API::LOGGED_IN:
$status = 'LOGGED_IN';
break;
case null:
$status = 'LOADING';
case API::LOGGED_OUT:
$status = 'LOGGED_OUT';
break;
default:
$status = $authorized;
Expand Down

0 comments on commit 6e237c4

Please sign in to comment.