mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
Rename username to account
This commit is contained in:
parent
398cddaf29
commit
8aab644db9
14 changed files with 245 additions and 218 deletions
|
@ -13,11 +13,11 @@ public class DbusConfig {
|
|||
return getObjectPath(null);
|
||||
}
|
||||
|
||||
public static String getObjectPath(String username) {
|
||||
if (username == null) {
|
||||
public static String getObjectPath(String account) {
|
||||
if (account == null) {
|
||||
return SIGNAL_OBJECT_BASE_PATH;
|
||||
}
|
||||
|
||||
return SIGNAL_OBJECT_BASE_PATH + "/" + username.replace('+', '_');
|
||||
return SIGNAL_OBJECT_BASE_PATH + "/" + account.replace('+', '_');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue