Closed ItsGravix closed 7 years ago
Hi, I have this code in my listener class:
@EventHandler public void onContact(ContactRequestEvent event) { try { System.out.println("Got a contact request"); event.getRequest().accept(); System.out.println("Added " +event.getRequest().getSender().getUsername() +" to contact list"); } catch (ConnectionException e) { e.printStackTrace(); } }
When I get a friend request, it doesn't even output "Got a contact request", what can I do to fix this? Thanks.
EDIT: Updated to 0.2.0 and now I get this error:
com.samczsun.skype4j.exceptions.ConnectionException: Cause: While loading authorization requests Response: 404 Not Found
Hi, I have this code in my listener class:
When I get a friend request, it doesn't even output "Got a contact request", what can I do to fix this? Thanks.
EDIT: Updated to 0.2.0 and now I get this error: