updated addMissingRoomRules function for combined spaces
This commit is contained in:
parent
bbf2536669
commit
c1a06b8e3d
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ class ClassController extends BaseController {
|
|||
final Room? room = _pangeaController.matrixState.client.getRoomById(roomId);
|
||||
if (room == null) return;
|
||||
|
||||
if (room.pangeaRoomRules == null) {
|
||||
if (room.isSpace && room.isRoomAdmin && room.pangeaRoomRules == null) {
|
||||
try {
|
||||
await _pangeaController.matrixState.client.setRoomStateWithKey(
|
||||
roomId,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue