|
@ -18,7 +18,8 @@ payload=$(mktemp /tmp/resource-in.XXXXXX) |
|
|
|
|
|
|
|
|
cat > "${payload}" <&0 |
|
|
cat > "${payload}" <&0 |
|
|
|
|
|
|
|
|
echo "Matrix-Notification-Resource Version: 1.0.0" |
|
|
|
|
|
|
|
|
version=$(cat version) |
|
|
|
|
|
echo "Matrix-Notification-Resource Version: ${version}" |
|
|
|
|
|
|
|
|
matrix_server_url="$(jq -r '.source.matrix_server_url' < "${payload}")" |
|
|
matrix_server_url="$(jq -r '.source.matrix_server_url' < "${payload}")" |
|
|
token="$(jq -r '.source.token' < "${payload}")" |
|
|
token="$(jq -r '.source.token' < "${payload}")" |
|
|