mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Check if authenticated before helping other instances
This commit is contained in:
parent
015fc06681
commit
b84e3570bd
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ public class SyncRunner implements Runnable {
|
|||
var type = event.get("type").asText();
|
||||
var content = event.at("/content/content");
|
||||
|
||||
if (type.startsWith("video.piped.stream.bypass.")) {
|
||||
if (!UNAUTHENTICATED && type.startsWith("video.piped.stream.bypass.")) {
|
||||
switch (type) {
|
||||
case "video.piped.stream.bypass.request" -> {
|
||||
FederatedGeoBypassRequest bypassRequest = mapper.treeToValue(content, FederatedGeoBypassRequest.class);
|
||||
|
|
Loading…
Reference in a new issue