Rename username to account

This commit is contained in:
AsamK 2021-11-12 16:38:55 +01:00
parent 398cddaf29
commit 8aab644db9
14 changed files with 245 additions and 218 deletions

View file

@ -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('+', '_');
}
}