mirror of https://gitlab.com/bashrc2/epicyon
Rename for synapse specific notifications
parent
6d77db6a00
commit
ee324bf63d
|
@ -66,7 +66,7 @@ function kill_sendxmpp_process {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function matrix_server_message {
|
function matrix_synapse_server_message {
|
||||||
admin_username="$1"
|
admin_username="$1"
|
||||||
notifications_username="$2"
|
notifications_username="$2"
|
||||||
message="$3"
|
message="$3"
|
||||||
|
@ -183,7 +183,7 @@ function sendNotification {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d /etc/matrix ]; then
|
if [ -d /etc/matrix ]; then
|
||||||
matrix_server_message "${USERNAME}" "${USERNAME}" "$MESSAGE"
|
matrix_synapse_server_message "${USERNAME}" "${USERNAME}" "$MESSAGE"
|
||||||
hasSent=1
|
hasSent=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue