diff options
Diffstat (limited to '')
-rwxr-xr-x | scripts-dev/federation_client.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts-dev/federation_client.py b/scripts-dev/federation_client.py index c72e19f61d..6f76c08fcf 100755 --- a/scripts-dev/federation_client.py +++ b/scripts-dev/federation_client.py @@ -15,25 +15,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - -""" -Script for signing and sending federation requests. - -Some tips on doing the join dance with this: - - room_id=... - user_id=... - - # make_join - federation_client.py "/_matrix/federation/v1/make_join/$room_id/$user_id?ver=5" > make_join.json - - # sign - jq -M .event make_join.json | sign_json --sign-event-room-version=$(jq -r .room_version make_join.json) -o signed-join.json - - # send_join - federation_client.py -X PUT "/_matrix/federation/v2/send_join/$room_id/x" --body $(<signed-join.json) > send_join.json -""" - import argparse import base64 import json |