]> nmode's Git Repositories - signal-cli/commitdiff
Add missing check to httpAddres
authorAsamK <asamk@gmx.de>
Thu, 3 Nov 2022 14:10:02 +0000 (15:10 +0100)
committerAsamK <asamk@gmx.de>
Thu, 3 Nov 2022 14:10:17 +0000 (15:10 +0100)
src/main/java/org/asamk/signal/commands/DaemonCommand.java

index 0cdf9cc9ba4ed0eec2362534ebc9e76c599fc7f7..d32dc69ca809f6f6a7d44f902dde972b933dbaa4 100644 (file)
@@ -152,6 +152,7 @@ public class DaemonCommand implements MultiLocalCommand, LocalCommand {
                 !isDbusSystem
                         && socketFile == null
                         && tcpAddress == null
+                        && httpAddress == null
                         && !(inheritedChannel instanceof ServerSocketChannel)
         )) {
             runDbusSingleAccount(m, false, receiveMode != ReceiveMode.ON_START);
@@ -233,6 +234,7 @@ public class DaemonCommand implements MultiLocalCommand, LocalCommand {
                 !isDbusSystem
                         && socketFile == null
                         && tcpAddress == null
+                        && httpAddress == null
                         && !(inheritedChannel instanceof ServerSocketChannel)
         )) {
             runDbusMultiAccount(c, receiveMode != ReceiveMode.ON_START, false);