mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-27 12:15:50 +01:00
Fetch own username from the whoami endpoint.
This commit is contained in:
committed by
Cody Henthorne
parent
53883ee3d3
commit
8c915572fb
@@ -12,6 +12,9 @@ public class WhoAmIResponse {
|
||||
@JsonProperty
|
||||
public String number;
|
||||
|
||||
@JsonProperty
|
||||
public String username;
|
||||
|
||||
public String getAci() {
|
||||
return uuid;
|
||||
}
|
||||
@@ -23,4 +26,8 @@ public class WhoAmIResponse {
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user