We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11cbd79 commit 2845ae4Copy full SHA for 2845ae4
src/DB.php
@@ -500,7 +500,9 @@ public static function insertMessageRequest(Message &$message)
500
501
$date = self::getTimestamp($message->getDate());
502
$forward_from = $message->getForwardFrom();
503
- $forward_date = self::getTimestamp($message->getForwardDate());
+ if ($forward_from) {
504
+ $forward_date = self::getTimestamp($message->getForwardDate());
505
+ }
506
507
$photo = $message->getPhoto();
508
$new_chat_participant = $message->getNewChatParticipant();
0 commit comments