Assign matrix platform chat ids on creation
This commit is contained in:
parent
0cdee532c4
commit
8270e5821e
4 changed files with 76 additions and 35 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue