From c94ad527ed94a4c1ca368dc8c8c59e490b907649 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 17 Nov 2018 19:50:34 +0900 Subject: User::isIgnored() --- lib/user.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/user.cpp') diff --git a/lib/user.cpp b/lib/user.cpp index bfd23ae2..eec41957 100644 --- a/lib/user.cpp +++ b/lib/user.cpp @@ -312,6 +312,11 @@ void User::unmarkIgnore() connection()->removeFromIgnoredUsers(this); } +bool User::isIgnored() const +{ + return connection()->isIgnored(this); +} + void User::Private::setAvatarOnServer(QString contentUri, User* q) { auto* j = connection->callApi(userId, contentUri); -- cgit v1.2.3