Just realized that CachedAuthors are unique. Somehow we need to track their state of PENDING, REQUESTED, or FRIENDS on a per author basis. Since we are using these unique CachedAuthors rather than not persisting them separately it'll probably end up needing to be lists representing each one which is overly complicated IMO, but at this point, let's just get it done.
TODO:
[x] Remove "followers" because we won't receive following notifications from other nodes so we can't even track this
[x] find a way to track status of CachedAuthors Friend Request both inbound and outbound on a per Author basis with
PENDING means we've sent them a request
FRIENDS means it's mutual
REQUESTED means they've requested to be our friend
[x] when we receive new incoming friend requests, add it to some sort of request/notifications list to be returned to the frontend on /login as per whatever @KarimBaaba wants
Just realized that CachedAuthors are unique. Somehow we need to track their state of PENDING, REQUESTED, or FRIENDS on a per author basis. Since we are using these unique CachedAuthors rather than not persisting them separately it'll probably end up needing to be lists representing each one which is overly complicated IMO, but at this point, let's just get it done.
TODO: