Check if authenticated before helping other instances

This commit is contained in:
Kavin 2023-08-27 14:38:24 +01:00
parent 015fc06681
commit b84e3570bd
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F

View File

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