Fix error
This commit is contained in:
@@ -397,7 +397,7 @@ else
|
|||||||
transactionId=$(openssl rand -hex 16)
|
transactionId=$(openssl rand -hex 16)
|
||||||
# Element Android internal
|
# Element Android internal
|
||||||
matrixRoomId="!LiSLXinTDCsepePiYW:matrix.org"
|
matrixRoomId="!LiSLXinTDCsepePiYW:matrix.org"
|
||||||
curl -X PUT --data "${\"msgtype\":\"m.text\",\"body\":\"${message}\"}" -H "Authorization: Bearer ${elementBotToken}" https://matrix-client.matrix.org/_matrix/client/r0/rooms/${matrixRoomId}/send/m.room.message/\$local."${transactionId}"
|
curl -X PUT --data "{\"msgtype\":\"m.text\",\"body\":\"${message}\"}" -H "Authorization: Bearer ${elementBotToken}" https://matrix-client.matrix.org/_matrix/client/r0/rooms/${matrixRoomId}/send/m.room.message/\$local."${transactionId}"
|
||||||
else
|
else
|
||||||
printf "Message not sent, please send it manually!\n"
|
printf "Message not sent, please send it manually!\n"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user