Add timeout to let the simplex-message propagate to the relay

This commit is contained in:
Juraj Bednar 2024-11-17 12:37:48 +01:00
parent ddfc2a7649
commit d85bcaecf0
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ SIMPLEX_DESTINATION="nickname"
If something does not work, the command that should work is:
```
simplex-chat -e '@nickname This is a test'
simplex-chat -e '@nickname This is a test' -t 10
```
## Why this project

View File

@ -50,7 +50,7 @@ function notify {
# LXMF / Reticulum / Sideband
#echo "$1" | LXMF-NotifyBot.py "${LXMF_DESTINATION}" "${LXMF_NAME}" "${LXMF_PROPAGATION}" > /dev/null
# SimpleX
#simplex-chat -e "@${SIMPLEX_DESTINATION} ${1}" > /dev/null
#(simplex-chat -e "@${SIMPLEX_DESTINATION} ${1}" -t 10 > /dev/null) &
log "Sending notification ${1}"
}