Skip to content

Commit c10d1bb

Browse files
committed
add other user to founders
1 parent 6122161 commit c10d1bb

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.changeset/fix_apng_animation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
default: patch
33
---
44

5-
Fix apng files not animating.
5+
Fix apng files not animating.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
default: patch
3+
---
4+
5+
Fix other dmed party not being added as a founder by default when creating a dm.

src/app/features/create-chat/CreateChat.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ export function CreateChat({ defaultUserId }: CreateChatProps) {
3939
visibility: Visibility.Private,
4040
preset: Preset.TrustedPrivateChat,
4141
initial_state: initialState,
42+
creation_content: {
43+
additional_creators: [userId],
44+
},
4245
});
4346

4447
addRoomIdToMDirect(mx, result.room_id, userId);

0 commit comments

Comments
 (0)