Fix msg link in status

Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
anasty17 2023-11-11 02:12:33 +02:00
parent 7d9bf57cc9
commit de73b06c68
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
from __future__ import print_function
from google.oauth2.service_account import Credentials
import googleapiclient.discovery
import json
import progress.bar

View File

@ -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>"