diff options
Diffstat (limited to 'models/user.py')
| -rw-r--r-- | models/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.py b/models/user.py index 896ff3b..0bebb11 100644 --- a/models/user.py +++ b/models/user.py | |||
| @@ -34,7 +34,7 @@ class UserCache(BaseModel): | |||
| 34 | @property | 34 | @property |
| 35 | def mention(self) -> str: | 35 | def mention(self) -> str: |
| 36 | if self.username is not None: | 36 | if self.username is not None: |
| 37 | return f'<a href="tg://{self.username}">{self.full_name}</a>' | 37 | return f'<a href="https://t.me/{self.username}">{self.full_name}</a>' |
| 38 | else: | 38 | else: |
| 39 | return f'<a href="tg://user?id={self.id}">{self.full_name}</a>' | 39 | return f'<a href="tg://user?id={self.id}">{self.full_name}</a>' |
| 40 | 40 | ||
