matrix-notifier: use 'auto' default message type
All checks were successful
continuous-integration/drone/push Build is passing

This is the one that makes most sense in CI.
This commit is contained in:
Bruno BELANYI 2021-06-12 19:14:29 +02:00
parent 8f4062256e
commit 9dc5006663

View file

@ -101,7 +101,7 @@ send_message() {
"$ADDRESS/_matrix/client/r0/rooms/$(rawurlencode "$ROOM")/send/m.room.message?access_token=$(rawurlencode "$token")" 2>/dev/null "$ADDRESS/_matrix/client/r0/rooms/$(rawurlencode "$ROOM")/send/m.room.message?access_token=$(rawurlencode "$token")" 2>/dev/null
} }
MSG_TYPE='notice' MSG_TYPE='auto'
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
opt="$1" opt="$1"