X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/ca86c421ebb1a3930fa309a2d95a4090108c2e62..53f47d42fc30a86a9bb6cd08f4678a756f4a4aaf:/src/main/java/org/asamk/signal/DbusConfig.java diff --git a/src/main/java/org/asamk/signal/DbusConfig.java b/src/main/java/org/asamk/signal/DbusConfig.java index eb457c39..ddd534c4 100644 --- a/src/main/java/org/asamk/signal/DbusConfig.java +++ b/src/main/java/org/asamk/signal/DbusConfig.java @@ -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('+', '_'); } }