[TelegramBridge] Populate author (#1183)

This commit is contained in:
triatic 2019-06-22 17:45:15 +01:00 committed by LogMANOriginal
parent 5e2f0fb626
commit 69acc6228a

View file

@ -42,6 +42,8 @@ class TelegramBridge extends BridgeAbstract {
$item['title'] = html_entity_decode($this->itemTitle, ENT_QUOTES);
$item['timestamp'] = $this->processDate($messageDiv);
$item['enclosures'] = $this->enclosures;
$author = trim($messageDiv->find('a.tgme_widget_message_owner_name', 0)->plaintext);
$item['author'] = html_entity_decode($author, ENT_QUOTES);
$this->items[] = $item;
}