Rename for synapse specific notifications

main
Bob Mottram 2024-11-25 11:02:57 +00:00
parent 6d77db6a00
commit ee324bf63d
1 changed files with 2 additions and 2 deletions

View File

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