diff --git a/Iceshrimp.Backend/Controllers/Mastodon/Streaming/Channels/PublicChannel.cs b/Iceshrimp.Backend/Controllers/Mastodon/Streaming/Channels/PublicChannel.cs index 32d34286..5bea190a 100644 --- a/Iceshrimp.Backend/Controllers/Mastodon/Streaming/Channels/PublicChannel.cs +++ b/Iceshrimp.Backend/Controllers/Mastodon/Streaming/Channels/PublicChannel.cs @@ -50,7 +50,7 @@ public class PublicChannel( { if (!IsApplicableBool(note)) return null; var res = EnforceRenoteReplyVisibility(note); - return res is not { Note.IsPureRenote: true, Renote: null } ? null : res; + return res is not { Note.IsPureRenote: true, Renote: null } ? res : null; } private bool IsApplicableBool(Note note) diff --git a/Iceshrimp.Backend/Controllers/Mastodon/Streaming/Channels/UserChannel.cs b/Iceshrimp.Backend/Controllers/Mastodon/Streaming/Channels/UserChannel.cs index eb5427b4..34efea29 100644 --- a/Iceshrimp.Backend/Controllers/Mastodon/Streaming/Channels/UserChannel.cs +++ b/Iceshrimp.Backend/Controllers/Mastodon/Streaming/Channels/UserChannel.cs @@ -58,7 +58,7 @@ public class UserChannel(WebSocketConnection connection, bool notificationsOnly) { if (!IsApplicableBool(note)) return null; var res = EnforceRenoteReplyVisibility(note); - return res is not { Note.IsPureRenote: true, Renote: null } ? null : res; + return res is not { Note.IsPureRenote: true, Renote: null } ? res : null; } private bool IsApplicableBool(Note note) => diff --git a/Iceshrimp.Backend/Hubs/Helpers/StreamingConnectionAggregate.cs b/Iceshrimp.Backend/Hubs/Helpers/StreamingConnectionAggregate.cs index 56cea38b..853be849 100644 --- a/Iceshrimp.Backend/Hubs/Helpers/StreamingConnectionAggregate.cs +++ b/Iceshrimp.Backend/Hubs/Helpers/StreamingConnectionAggregate.cs @@ -194,7 +194,7 @@ public sealed class StreamingConnectionAggregate : IDisposable if (note.Renote != null && IsFiltered(note.Renote.User)) return null; var res = EnforceRenoteReplyVisibility(note); - return res is not { Note.IsPureRenote: true, Renote: null } ? null : res; + return res is not { Note.IsPureRenote: true, Renote: null } ? res : null; } [SuppressMessage("ReSharper", "SuggestBaseTypeForParameter")]