Apply fixes from StyleCI
This commit is contained in:
parent
496d6790bc
commit
546d7cc46e
@ -189,7 +189,8 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function reset_session() {
|
public function reset_session()
|
||||||
|
{
|
||||||
foreach ($this->datacenter->sockets as $id => &$socket) {
|
foreach ($this->datacenter->sockets as $id => &$socket) {
|
||||||
\danog\MadelineProto\Logger::log('Resetting session id and seq_no in DC '.$id.'...');
|
\danog\MadelineProto\Logger::log('Resetting session id and seq_no in DC '.$id.'...');
|
||||||
$socket->session_id = \phpseclib\Crypt\Random::string(8);
|
$socket->session_id = \phpseclib\Crypt\Random::string(8);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user