mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-03 20:11:20 +02:00
Merge pull request #559 from TeamPiped/channel-update-fix
Fix for channel updates not triggering.
This commit is contained in:
commit
0da51b0791
@ -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