MSC4375: Admin Room Management

This commit is contained in:
2025-10-29 03:38:24 -04:00
parent 29ecfc0387
commit 945f92e25f
6 changed files with 107 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ from types import SimpleNamespace
from collections import Counter
import vona.config as config
import nacl.signing
import time as ti
import hashlib
import base64
import random
@@ -461,3 +462,7 @@ def strip_state(state_events) -> list:
new_dict["event_id"] = event_id
new_list.append(new_dict)
return new_list
def time() -> int:
return int(str(ti.time() * 1000).split(".")[0])