1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 21:34:41 +01:00

Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-03-30 16:03:16 +00:00 committed by StyleCI Bot
parent 64d878a28d
commit 236fefabc1

View File

@ -113,9 +113,9 @@ Propic art by @magnaluna on [deviantart](https://magnaluna.deviantart.com).", 'p
} }
if ($message === '/broadcast' && $from_id === 101374607) { if ($message === '/broadcast' && $from_id === 101374607) {
$time = time() + 100; $time = time() + 100;
$message = explode(" ", $message, 2); $message = explode(' ', $message, 2);
unset($message[0]); unset($message[0]);
$message = implode(" ", $message); $message = implode(' ', $message);
foreach ($this->get_dialogs() as $peer) { foreach ($this->get_dialogs() as $peer) {
$this->times_messages[] = [$peer, $time, $message]; $this->times_messages[] = [$peer, $time, $message];
if (isset($peer['user_id'])) { if (isset($peer['user_id'])) {