Skip to content
Snippets Groups Projects
Unverified Commit a04a9ff6 authored by R Midhun Suresh's avatar R Midhun Suresh Committed by GitHub
Browse files

Merge pull request #71 from vector-im/fix-redact

Prevent users from redacting messages sent by the operator
parents 26c1115f 60224f71
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,8 @@ export class ChatterboxViewModel extends ViewModel {
},
events: {
"m.room.message": 80,
}
},
redact: 90
} : null;
const roomBeingCreated = this._session.createRoom({
type: 1, //todo: use enum from hydrogen-sdk here
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment