aboutsummaryrefslogtreecommitdiff
path: root/bridges/TelegramBridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/TelegramBridge.php')
-rw-r--r--bridges/TelegramBridge.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/TelegramBridge.php b/bridges/TelegramBridge.php
index 7ae1b9a1..86474e5e 100644
--- a/bridges/TelegramBridge.php
+++ b/bridges/TelegramBridge.php
@@ -41,8 +41,7 @@ class TelegramBridge extends BridgeAbstract {
public function collectData() {
- $html = getSimpleHTMLDOM($this->getURI())
- or returnServerError('Could not request: ' . $this->getURI());
+ $html = getSimpleHTMLDOM($this->getURI());
$channelTitle = htmlspecialchars_decode(
$html->find('div.tgme_channel_info_header_title span', 0)->plaintext,