diff --git a/src/main/java/com/loldesktop/chatapi/ChatAPI.java b/src/main/java/com/loldesktop/chatapi/ChatAPI.java index c822a21..4e85a9a 100644 --- a/src/main/java/com/loldesktop/chatapi/ChatAPI.java +++ b/src/main/java/com/loldesktop/chatapi/ChatAPI.java @@ -19,7 +19,6 @@ import com.github.theholywaffle.lolchatapi.riotapi.RiotApiKey; import com.github.theholywaffle.lolchatapi.wrapper.Friend; import com.github.theholywaffle.lolchatapi.wrapper.FriendGroup; -import com.loldesktop.loldesktop.UserSingleton; import com.loldesktop.loldesktop.runnable.NewMessageRennable; import java.util.ArrayList; import java.util.List; @@ -71,6 +70,7 @@ public void reconnectionSuccessful() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }); + this.api.addFriendListener(new FriendListener() { @Override @@ -109,7 +109,7 @@ public void onNewFriend(Friend friend) { } @Override - public void onRemoveFriend(String string) { + public void onRemoveFriend(String string, String string1) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } });