Skip to content

Commit

Permalink
Merge pull request #55 from hexedtech/fix/java-userlist-signature
Browse files Browse the repository at this point in the history
fix(java): bad user_list signature
  • Loading branch information
zaaarf authored Oct 18, 2024
2 parents a4ab840 + 5c76fcf commit 5350841
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/java/src/mp/code/Workspace.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ public String[] activeBuffers() {
return active_buffers(this.ptr);
}

private static native String[] user_list(long self);
private static native User[] user_list(long self);

/**
* Returns the users currently in the workspace.
* @return an array containing the names of the users in the workspace
* @return an array containing the users in the workspace
*/
public String[] userList() {
public User[] userList() {
return user_list(this.ptr);
}

Expand Down

0 comments on commit 5350841

Please sign in to comment.