mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Fix forward copies having "None" as caption in case of no caption at all
This commit is contained in:
parent
8cdcf90b10
commit
d875298937
1 changed files with 1 additions and 1 deletions
|
|
@ -2620,7 +2620,7 @@ class Message(Object, Update):
|
||||||
disable_notification=disable_notification
|
disable_notification=disable_notification
|
||||||
)
|
)
|
||||||
elif self.media:
|
elif self.media:
|
||||||
caption = self.caption.html if self.caption and not remove_caption else None
|
caption = self.caption.html if self.caption and not remove_caption else ""
|
||||||
|
|
||||||
send_media = partial(
|
send_media = partial(
|
||||||
self._client.send_cached_media,
|
self._client.send_cached_media,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue