Preliminary code for pending friend requests #463