-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from alkem-io/develop
Release to add matrix admin service; tidy up logic for working with power levels in rooms
- Loading branch information
Showing
25 changed files
with
666 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { MatrixAdminEventUpdateRoomStateForAdminRoomsInput } from '../src/services/matrix-admin/dto/matrix.admin.dto.event.update.room.state.for.admin.rooms'; | ||
|
||
const messageBody: CmdMatrixAdminEventResetAdminRoomsInput = { | ||
pattern: 'updateRoomStateForAdminRooms', | ||
payload: { | ||
adminEmail: "[email protected]", | ||
adminPassword: "change_me_now", | ||
powerLevel: { | ||
users_default: 50, | ||
redact: 0 | ||
} | ||
} | ||
} | ||
|
||
// { | ||
// "pattern": "updateRoomStateForAdminRooms", | ||
// "data": { | ||
// "adminEmail": "[email protected]", | ||
// "adminPassword": "change_me_now", | ||
// "powerLevel": { | ||
// "users_default": 50, | ||
// "redact": 0 | ||
// } | ||
// } | ||
// } | ||
|
||
export class CmdMatrixAdminEventResetAdminRoomsInput { | ||
pattern: string; | ||
payload: MatrixAdminEventUpdateRoomStateForAdminRoomsInput; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.