time -> get_time
This commit is contained in:
@@ -140,7 +140,7 @@ async def evacuate_room(room):
|
||||
@admin.route("/_matrix/client/v1/admin/rooms/<room>/delete/status")
|
||||
async def evacuate_status(room):
|
||||
return jsonify({
|
||||
"started_at": globals.time(), # everything all at once always now!!!
|
||||
"started_at": globals.get_time(), # everything all at once always now!!!
|
||||
"total": config.the_funny_number,
|
||||
"evacuated": config.the_funny_number,
|
||||
"failed": config.the_funny_number,
|
||||
|
||||
@@ -88,7 +88,7 @@ async def users(group):
|
||||
"attestation": globals.sign_json({
|
||||
"group_id": group,
|
||||
"user_id": f"@vona:{config.server_name}",
|
||||
"valid_until_ms": globals.time()
|
||||
"valid_until_ms": globals.get_time()
|
||||
})
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user