Implement redaction for v1 to v11 events
This commit is contained in:
@@ -98,7 +98,10 @@ try:
|
||||
except ValueError:
|
||||
join_event["origin_server_ts"] = int(f"{time.time() * 1000}".split(".")[0])
|
||||
|
||||
signed_join = globals.hash_and_sign_event(join_event)
|
||||
signed_join = globals.hash_and_sign_event(
|
||||
join_event,
|
||||
int(make_join.get("room_version", "1"))
|
||||
)
|
||||
|
||||
try:
|
||||
send_join_response = http_client.put(
|
||||
|
||||
Reference in New Issue
Block a user