chore: Set retention state for story rooms
This commit is contained in:
parent
eb77fe0a91
commit
538c183771
1 changed files with 8 additions and 0 deletions
|
|
@ -62,6 +62,14 @@ extension ClientStoriesExtension on Client {
|
||||||
'algorithm': 'm.megolm.v1.aes-sha2',
|
'algorithm': 'm.megolm.v1.aes-sha2',
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
StateEvent(
|
||||||
|
type: 'm.room.retention',
|
||||||
|
stateKey: '',
|
||||||
|
content: {
|
||||||
|
'min_lifetime': 86400000,
|
||||||
|
'max_lifetime': 86400000,
|
||||||
|
},
|
||||||
|
),
|
||||||
],
|
],
|
||||||
invite: invite,
|
invite: invite,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue