mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Improve uuid/number handling
This commit is contained in:
parent
4f8da7819e
commit
3d5c440aa2
3 changed files with 19 additions and 17 deletions
|
@ -564,12 +564,12 @@ public interface Signal extends DBusInterface {
|
|||
String uuid;
|
||||
|
||||
@Position(2)
|
||||
String name;
|
||||
String number;
|
||||
|
||||
public StructIdentity(final DBusPath objectPath, final String uuid, final String name) {
|
||||
public StructIdentity(final DBusPath objectPath, final String uuid, final String number) {
|
||||
this.objectPath = objectPath;
|
||||
this.uuid = uuid;
|
||||
this.name = name;
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public DBusPath getObjectPath() {
|
||||
|
@ -580,8 +580,8 @@ public interface Signal extends DBusInterface {
|
|||
return uuid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue