fix: add unique key to end of default chat alias to prevent error on delete and try to recreate (#5177)
This commit is contained in:
parent
cf59b3c357
commit
5465e35f2c
1 changed files with 2 additions and 1 deletions
|
|
@ -193,7 +193,8 @@ extension CoursePlanRoomExtension on Room {
|
|||
preset: CreateRoomPreset.publicChat,
|
||||
visibility: Visibility.private,
|
||||
name: name,
|
||||
roomAliasName: "${type.alias}_${id.localpart}",
|
||||
roomAliasName:
|
||||
"${type.alias}_${id.localpart}_${DateTime.now().millisecondsSinceEpoch}",
|
||||
initialState: [
|
||||
StateEvent(
|
||||
type: EventTypes.RoomAvatar,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue