mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 07:45:10 +00:00
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',
|
||||
},
|
||||
),
|
||||
StateEvent(
|
||||
type: 'm.room.retention',
|
||||
stateKey: '',
|
||||
content: {
|
||||
'min_lifetime': 86400000,
|
||||
'max_lifetime': 86400000,
|
||||
},
|
||||
),
|
||||
],
|
||||
invite: invite,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue