mab update, !short command, last_access fix

- Updated mab to v0.5.0
- Added `!short` command to add named tokens
- Fixed `last_access_at` field not being updated
This commit is contained in:
2026-09-13 00:12:00 +03:00
parent 4a947cec3d
commit 4194f3da48
6 changed files with 136 additions and 79 deletions

View File

@@ -58,7 +58,7 @@ async def _get_notify(request: Request, params: ModelGetNotify = Depends()):
text += html.escape(params.text)
# try to send the notification
try:
notification_id = await matrix.send_text_to_room(
notification_id = await matrix.send_text(
room.matrix_id,
text,
is_html=True