Fix forward copies having "None" as caption in case of no caption at all
This commit is contained in:
parent
8cdcf90b10
commit
d875298937
@ -2620,7 +2620,7 @@ class Message(Object, Update):
|
||||
disable_notification=disable_notification
|
||||
)
|
||||
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(
|
||||
self._client.send_cached_media,
|
||||
|
Loading…
Reference in New Issue
Block a user