Skip to content

Commit 35f137c

Browse files
committed
Hardcode v11 for new rooms
Upcoming breaking changes in room v12 prevent safely using the default room version and security embargoes prevent fixing them ahead of time.
1 parent 31846e7 commit 35f137c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mautrix_telegram/portal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,7 @@ async def _create_matrix_room(
10381038
initial_state=initial_state,
10391039
creation_content=creation_content,
10401040
beeper_auto_join_invites=autojoin_invites,
1041+
room_version="11",
10411042
)
10421043
if not room_id:
10431044
raise Exception(f"Failed to create room")

0 commit comments

Comments
 (0)