Additional note for sending messages via dbus-send when running signal-cli as system daemon

androbey 2020-09-07 16:58:08 +02:00
parent 7dffb62580
commit cffe2ef690

@ -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).