[VkBridge] Fix photo URI retrieving (#3010)

VK stopped filling JSON structure containing information for generating URI to full size photo
This commit is contained in:
Eugene Molotov 2022-09-06 02:41:41 +05:00 committed by GitHub
parent 8ea9472300
commit 8033a5f461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ class VkBridge extends BridgeAbstract
if ($original) {
return "<a href='$original'><img src='$thumb'></a>";
} else {
return "<img src='$thumb'>";
return backgroundToImg($a);
}
}