aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/redaction.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-23 13:42:45 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-23 13:42:45 +0200
commitebea54ba87558e50604976821f378d125f6b498e (patch)
treeff0a8aa1b28631b6503826ad26a61b0922abff0a /lib/csapi/redaction.h
parent607d8603b6d5b8409aa3f0275d8dfc8d0b5fbaa0 (diff)
downloadlibquotient-ebea54ba87558e50604976821f378d125f6b498e.tar.gz
libquotient-ebea54ba87558e50604976821f378d125f6b498e.zip
Re-generated API files according to the previous commit
Only API-preserving changes are included in this branch (0.7 will have all changes).
Diffstat (limited to 'lib/csapi/redaction.h')
-rw-r--r--lib/csapi/redaction.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/csapi/redaction.h b/lib/csapi/redaction.h
index 541e433a..f0db9f9f 100644
--- a/lib/csapi/redaction.h
+++ b/lib/csapi/redaction.h
@@ -15,9 +15,12 @@ namespace Quotient {
*
* This cannot be undone.
*
- * Users may redact their own events, and any user with a power level
- * greater than or equal to the ``redact`` power level of the room may
- * redact events there.
+ * Any user with a power level greater than or equal to the `m.room.redaction`
+ * event power level may send redaction events in the room. If the user's power
+ * level greater is also greater than or equal to the `redact` power level
+ * of the room, the user may redact events sent by other users.
+ *
+ * Server administrators may redact events sent by users on their server.
*/
class RedactEventJob : public BaseJob {
public: