[backend/masto-client] Fix user channel (ISH-260)

This commit is contained in:
Laura Hausmann 2024-04-16 17:01:48 +02:00
parent 47d4100ec9
commit f611e01bda
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -56,7 +56,7 @@ public class UserChannel(WebSocketConnection connection, bool notificationsOnly)
private NoteWithVisibilities? IsApplicable(Note note) private NoteWithVisibilities? IsApplicable(Note note)
{ {
if (IsApplicableBool(note)) return null; if (!IsApplicableBool(note)) return null;
var res = EnforceRenoteReplyVisibility(note); var res = EnforceRenoteReplyVisibility(note);
return res is not { Note.IsPureRenote: true, Renote: null } ? null : res; return res is not { Note.IsPureRenote: true, Renote: null } ? null : res;
} }