mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-08 12:07:33 +08:00
Fix msg link in status
Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
parent
7d9bf57cc9
commit
de73b06c68
@ -1,5 +1,4 @@
|
||||
from __future__ import print_function
|
||||
from google.oauth2.service_account import Credentials
|
||||
import googleapiclient.discovery
|
||||
import json
|
||||
import progress.bar
|
||||
|
@ -132,7 +132,7 @@ def get_readable_message(sid, is_user, page_no=1, status="All", page_step=1):
|
||||
):
|
||||
tstatus = task.status()
|
||||
if task.listener.isSuperChat:
|
||||
msg += f"<b><a href='{index+start_position}.{task.listener.message.link}'>{tstatus}</a>: </b>"
|
||||
msg += f"<b>{index+start_position}.<a href='{task.listener.message.link}'>{tstatus}</a>: </b>"
|
||||
else:
|
||||
msg += f"<b>{index+start_position}.{tstatus}: </b>"
|
||||
msg += f"<code>{escape(f'{task.name()}')}</code>"
|
||||
|
Loading…
Reference in New Issue
Block a user