mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Use fixed length mask instead of dynamic length (#635)
This commit is contained in:
@@ -56,7 +56,7 @@ class Object(metaclass=Meta):
|
||||
"_": obj.__class__.__name__,
|
||||
**{
|
||||
attr: (
|
||||
"*" * len(getattr(obj, attr))
|
||||
"*" * 9
|
||||
if attr == "phone_number" else
|
||||
str(datetime.fromtimestamp(getattr(obj, attr)))
|
||||
if attr.endswith("date") else
|
||||
|
Reference in New Issue
Block a user