[TelegramBridge] Fix timestamp for videos (#1181)

This commit is contained in:
triatic 2019-06-22 17:34:02 +01:00 committed by LogMANOriginal
parent 1591e18027
commit 372461b1a3

View file

@ -249,7 +249,10 @@ EOD;
} }
private function processDate($messageDiv) { private function processDate($messageDiv) {
return $messageDiv->find('time', 0)->datetime;
$messageMeta = $messageDiv->find('span.tgme_widget_message_meta', 0);
return $messageMeta->find('time', 0)->datetime;
} }
private function ellipsisTitle($text) { private function ellipsisTitle($text) {