Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Add never expire msg to user reply as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Divkix committed Feb 28, 2023
1 parent b82f88f commit 8715a7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion WebStreamer/bot/plugins/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ async def private_receive_handler(c: Client, m: Message):
file_name,
file_size,
stream_link,
Formatters.time_formatter(user_expire_time),
Formatters.time_formatter(user_expire_time)
if user_expire_time != -1
else "Never",
),
disable_web_page_preview=True,
reply_markup=ikb(
Expand Down

0 comments on commit 8715a7f

Please sign in to comment.