mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2026-05-13 18:31:16 -06:00
Revert examples
This commit is contained in:
@@ -10,8 +10,6 @@ Build something cool with these nodes? Feel free to submit a pull request to sha
|
||||
- [Create User with Shared Secret Registration](#create-user-with-shared-secret-registration)
|
||||
- [Create/Edit Synapse User](#createedit-synapse-user)
|
||||
- [Use function node to run any command](#use-function-node-to-run-any-command)
|
||||
- [Start and accept device verification from specific user](#start-and-accept-device-verification-from-specific-user)
|
||||
- [Request device verification & immediately accept](#request-device-verification--immediately-accept)
|
||||
- [Respond to "ping" with "pong"](#respond-to-ping-with-pong)
|
||||
- [Respond to "html" with an HTML message](#respond-to-html-with-an-html-message)
|
||||
- [Respond to "image" with an uploaded image](#respond-to-image-with-an-uploaded-image)
|
||||
@@ -64,24 +62,6 @@ To view what sort of functions you have access to check out the `client.ts` file
|
||||

|
||||
|
||||
|
||||
### Request device verification & immediately accept
|
||||
|
||||
[View JSON](request-device-verification.json)
|
||||
|
||||
Edit the inject node to match the details of a user & device you would like to request verification from.
|
||||
After the end user starts verification the bot automatically accepts the result (note: you should be validating the result and not just blindly accepting them, this is just an example)
|
||||
|
||||

|
||||
|
||||
|
||||
### Start and accept device verification from specific user
|
||||
|
||||
[View JSON](start-accept-verification-from-user.json)
|
||||
|
||||
Edit the switch node labeled "is from me" to match whatever user ID you would like to accept verification requests from.
|
||||
After verification starts the bot automatically accepts the result (note: you should be validating the result and not just blindly accepting them, this is just an example)
|
||||
|
||||

|
||||
|
||||
### Respond to "ping" with "pong"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user