mirror of https://github.com/coddrago/Heroku
Fix inline
parent
16fcecd0bd
commit
53ba6577e8
|
@ -351,7 +351,12 @@ class SecurityManager:
|
|||
|
||||
is_channel = False
|
||||
|
||||
if message.is_channel and not message.is_group and message.edit_date:
|
||||
if (
|
||||
message
|
||||
and message.is_channel
|
||||
and not message.is_group
|
||||
and message.edit_date
|
||||
):
|
||||
async for event in self._client.iter_admin_log(
|
||||
utils.get_chat_id(message),
|
||||
limit=10,
|
||||
|
|
Loading…
Reference in New Issue