private static void HandleFriendshipTrustRemoved(IUserDatabase userDatabase, IInternalLocalUser localUser, AbstractRemoveFriendshipTrustNotificationEventArgs e) { string friendUserId = e.Notification.FriendUserId; userDatabase.SetFriendIsTrusted(friendUserId, isTrusted: false); localUser.UntrustFriend(e.Notification.FriendUserId); }