Update README.md

./matrix.sh --room_id='!OEassajhhkasLULVAa:matrix.org' "Hello World"

should be
 ./matrix.sh --room='!OEassajhhkasLULVAa:matrix.org' "Hello World"
This commit is contained in:
selea 2021-05-15 20:55:20 +02:00 committed by GitHub
parent ed3ea7e06e
commit e01bb6a9da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ $ ./matrix.sh --file=IMG1234.jpg --image
#### Providing a room: #### Providing a room:
You can use `--room=<room_id>` to provide a room_id. This supersedes the default room. You can use `--room=<room_id>` to provide a room_id. This supersedes the default room.
``` ```
$ ./matrix.sh --room_id='!OEassajhhkasLULVAa:matrix.org' "Hello World" $ ./matrix.sh --room='!OEassajhhkasLULVAa:matrix.org' "Hello World"
``` ```
(Note: bash doesn't like exclamation marks in double quoted strings. So we (Note: bash doesn't like exclamation marks in double quoted strings. So we
use single quotes for the room id.) use single quotes for the room id.)