[backend/core] Remove TODO item

This isn't possible, as we don't know the remote actor before fetching the note
This commit is contained in:
Laura Hausmann 2024-02-24 21:11:06 +01:00
parent c083305123
commit e9267c4c3e
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -602,7 +602,6 @@ public class NoteService(
if (note != null) return note; if (note != null) return note;
//TODO: should we fall back to a regular user's keypair if fetching with instance actor fails & a local user is following the actor?
fetchedNote ??= user != null ? await fetchSvc.FetchNoteAsync(uri, user) : await fetchSvc.FetchNoteAsync(uri); fetchedNote ??= user != null ? await fetchSvc.FetchNoteAsync(uri, user) : await fetchSvc.FetchNoteAsync(uri);
if (fetchedNote == null) if (fetchedNote == null)