summary refs log tree commit diff
path: root/src/timeline/Permissions.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-10-13 17:19:54 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-10-13 17:55:07 +0200
commit37009906bb3521db3ae77a0bb39a6943b7ccdec0 (patch)
tree612c6360194266ebb83f96016ff37e6626d57ad6 /src/timeline/Permissions.h
parentBump mtxclient (diff)
downloadnheko-37009906bb3521db3ae77a0bb39a6943b7ccdec0.tar.xz
Evaluate push rules locally
Diffstat (limited to 'src/timeline/Permissions.h')
-rw-r--r--src/timeline/Permissions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/Permissions.h b/src/timeline/Permissions.h
index aa10999d..1b3f55e4 100644
--- a/src/timeline/Permissions.h
+++ b/src/timeline/Permissions.h
@@ -34,6 +34,8 @@ public:
 
     void invalidate();
 
+    const mtx::events::state::PowerLevels &powerlevelEvent() const { return pl; };
+
 private:
     QString roomId_;
     mtx::events::state::PowerLevels pl;