From a89a117534e2ceb1fafbb0214ed26eb4c80e359e Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 23 Mar 2023 20:01:21 +0000 Subject: [PATCH] Fix for channel updates not triggering. --- src/main/java/me/kavin/piped/utils/ChannelHelpers.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/kavin/piped/utils/ChannelHelpers.java b/src/main/java/me/kavin/piped/utils/ChannelHelpers.java index 21a5c14..5f0a8e0 100644 --- a/src/main/java/me/kavin/piped/utils/ChannelHelpers.java +++ b/src/main/java/me/kavin/piped/utils/ChannelHelpers.java @@ -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);