Prepare for room v3+, misc bugfixes
This commit is contained in:
@@ -2,15 +2,12 @@ from vona.federation import send_join
|
||||
import vona.globals as globals
|
||||
import vona.config as config
|
||||
|
||||
import base64
|
||||
import re
|
||||
import os
|
||||
|
||||
from flask import (
|
||||
Blueprint,
|
||||
jsonify,
|
||||
request,
|
||||
Response,
|
||||
)
|
||||
|
||||
synapse = Blueprint("synapse", __name__)
|
||||
@@ -99,7 +96,7 @@ async def whois(user_id):
|
||||
"": {
|
||||
"sessions": [{
|
||||
"connections": [{
|
||||
"ip":f"127.0.0.1",
|
||||
"ip":"127.0.0.1",
|
||||
"last_seen":config.the_funny_number,
|
||||
"user_agent":f"Vona/{globals.version}"
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user