mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 11:26:31 +03:00
[TelegramBridge] Populate author (#1183)
This commit is contained in:
parent
5e2f0fb626
commit
69acc6228a
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue