aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roompowerlevelsevent.h
diff options
context:
space:
mode:
authorBlack Hat <bhat@encom.eu.org>2020-01-01 14:45:42 +0800
committerBlack Hat <bhat@encom.eu.org>2020-01-01 14:45:42 +0800
commitd4034fb12b189156e135dcf0fb94960a1d8e9be9 (patch)
treeb0e3fd5833b0a8f91c552e846b18d0865f4aae8e /lib/events/roompowerlevelsevent.h
parent2a54e66226863bdea4b0828675f38b75e4c7776f (diff)
downloadlibquotient-d4034fb12b189156e135dcf0fb94960a1d8e9be9.tar.gz
libquotient-d4034fb12b189156e135dcf0fb94960a1d8e9be9.zip
Add powerLevelForState()
Diffstat (limited to 'lib/events/roompowerlevelsevent.h')
-rw-r--r--lib/events/roompowerlevelsevent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/events/roompowerlevelsevent.h b/lib/events/roompowerlevelsevent.h
index b3405c56..f0f7207f 100644
--- a/lib/events/roompowerlevelsevent.h
+++ b/lib/events/roompowerlevelsevent.h
@@ -56,6 +56,7 @@ public:
int roomNotification() const { return content().notifications.room; }
int powerLevelForEvent(const QString& eventId) const;
+ int powerLevelForState(const QString& eventId) const;
int powerLevelForUser(const QString& userId) const;
private: