Merge pull request #559 from TeamPiped/channel-update-fix

Fix for channel updates not triggering.
This commit is contained in:
Kavin 2023-03-23 20:02:29 +00:00 committed by GitHub
commit 0da51b0791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);