[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['title'] = html_entity_decode($this->itemTitle, ENT_QUOTES);
|
||||||
$item['timestamp'] = $this->processDate($messageDiv);
|
$item['timestamp'] = $this->processDate($messageDiv);
|
||||||
$item['enclosures'] = $this->enclosures;
|
$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;
|
$this->items[] = $item;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue