mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
mediaWebPage support update
This commit is contained in:
parent
3ea14f3566
commit
4bb3c63edb
@ -104,7 +104,7 @@ class ApiExtensions
|
||||
if ($mediaType === null) {
|
||||
return false;
|
||||
}
|
||||
if ($mediaType === 'messageMediaWebPage') {
|
||||
if ($mediaType === 'messageMediaWebPage' && !empty($message['media']['webpage']['photo'])) {
|
||||
return $allowWebPage;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user