public void OnCall(ObjectId friendId) { if (websocketCallback == null) { desktopCallback.OnCall(friendId); } else { Console.WriteLine("cannot call web client"); } }