feat: web UI chat render, panels, presence + analytics
This commit is contained in:
@@ -36,6 +36,13 @@ async def presence_history(
|
||||
)
|
||||
|
||||
|
||||
@router.get("/current")
|
||||
async def current_presence(
|
||||
pool: FromDishka[asyncpg.Pool], account_id: AccountId, peer_id: PeerId
|
||||
) -> PresenceSample | None:
|
||||
return await presence.current_presence(pool, account_id, peer_id)
|
||||
|
||||
|
||||
@router.get("/hourly")
|
||||
async def presence_hourly(
|
||||
pool: FromDishka[asyncpg.Pool],
|
||||
|
||||
Reference in New Issue
Block a user