Fix for channel updates not triggering.

This commit is contained in:
Kavin 2023-03-23 20:01:21 +00:00
parent d250b72129
commit a89a117534
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

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