From cffe2ef690458759903da28e1b07f18d8c0c6f4c Mon Sep 17 00:00:00 2001 From: androbey <7.obermeier@gmail.com> Date: Mon, 7 Sep 2020 16:58:08 +0200 Subject: [PATCH] Additional note for sending messages via dbus-send when running signal-cli as system daemon --- DBus-service.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DBus-service.md b/DBus-service.md index 55d4658..3e438c7 100644 --- a/DBus-service.md +++ b/DBus-service.md @@ -38,6 +38,8 @@ Example with `dbus-send`: dbus-send --session --type=method_call --print-reply --dest="org.asamk.Signal" /org/asamk/Signal org.asamk.Signal.sendMessage string:MessageText array:string: string:RECIPIENT +Keep in mind that if you use DBus as a system service and want to send a message using the dbus daemon, you must use `--system` instead of `--session` in the dbus send command. + For an example of sending a group message through the dbus interface, see [#272](https://github.com/AsamK/signal-cli/issues/272).