pull/165/head
Who? 2025-08-15 02:04:09 +07:00 committed by GitHub
parent 755181db39
commit 7ec9f9fe80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -393,7 +393,7 @@ class SecurityManager:
if not user_id: if not user_id:
user_id = message.sender_id user_id = message.sender_id
except: except:
user_id = message.peer_id.channel_id pass
if not user_id: if not user_id:
user_id = message.peer_id user_id = message.peer_id
@ -403,7 +403,6 @@ class SecurityManager:
if ( if (
message message
and message.is_channel and message.is_channel
and not message.is_group
and message.edit_date and message.edit_date
): ):
async for event in self._client.iter_admin_log( async for event in self._client.iter_admin_log(