mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Fix for channel updates not triggering.
This commit is contained in:
parent
d250b72129
commit
a89a117534
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,8 @@ public class ChannelHelpers {
|
|||
URL url;
|
||||
try {
|
||||
url = new URL(avatarUrl);
|
||||
if (!url.getHost().endsWith(".ggpht.com"))
|
||||
final var host = url.getHost();
|
||||
if (!host.endsWith(".ggpht.com") && !host.endsWith(".googleusercontent.com"))
|
||||
return;
|
||||
} catch (MalformedURLException e) {
|
||||
throw new RuntimeException(e);
|
||||
|
|
Loading…
Reference in a new issue