Assign matrix platform chat ids on creation

This commit is contained in:
Mikhail Putilovskij 2026-04-19 17:31:21 +03:00
parent 0cdee532c4
commit 8270e5821e
4 changed files with 76 additions and 35 deletions

View file

@ -106,6 +106,7 @@ def make_handle_new_chat(
"display_name": room_name,
"matrix_user_id": event.user_id,
"space_id": space_id,
"platform_chat_id": f"matrix:{room_id}",
},
)
ctx = await chat_mgr.get_or_create(