mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-28 16:00:29 +05:30
Fix for channel updates not triggering.
This commit is contained in:
parent
d250b72129
commit
a89a117534
@ -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…
x
Reference in New Issue
Block a user