The Codebase Consistency Update
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
from flask import Blueprint, jsonify
|
||||
from vona.config import the_funny_number
|
||||
import asyncio
|
||||
|
||||
from flask import (
|
||||
Blueprint,
|
||||
jsonify,
|
||||
)
|
||||
|
||||
apps = Blueprint("appservice", __name__)
|
||||
|
||||
# This implements both being a homeserver and
|
||||
@@ -10,6 +14,7 @@ apps = Blueprint("appservice", __name__)
|
||||
# Endpoints invoked by the homeserver are put
|
||||
# lower than ones invoked by the appservice.
|
||||
|
||||
|
||||
@apps.route("/_matrix/client/v1/appservice/<app>/ping", methods=["POST"])
|
||||
async def homeserver_ping(app):
|
||||
# Sleeping here makes it more realistic
|
||||
|
||||
Reference in New Issue
Block a user