mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 00:10:31 +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;
|
URL url;
|
||||||
try {
|
try {
|
||||||
url = new URL(avatarUrl);
|
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;
|
return;
|
||||||
} catch (MalformedURLException e) {
|
} catch (MalformedURLException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user