mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Merge pull request #559 from TeamPiped/channel-update-fix
Fix for channel updates not triggering.
This commit is contained in:
commit
0da51b0791
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue