aboutsummaryrefslogtreecommitdiff
path: root/chat.cpp
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-01 19:23:41 +0300
committerlink2xt <link2xt@testrun.org>2021-08-01 19:23:41 +0300
commitef80085fab6d83a89a9a4309f2e7cdd272a812fe (patch)
tree111d76a214b57614ced4c1688901ce05e6770c5f /chat.cpp
parent9b2ce7538d28529f3c47e713779e4b0ae7b6aaf1 (diff)
downloadkdeltachat-ef80085fab6d83a89a9a4309f2e7cdd272a812fe.tar.gz
kdeltachat-ef80085fab6d83a89a9a4309f2e7cdd272a812fe.zip
Add "pinned" badge for pinned chats
Diffstat (limited to 'chat.cpp')
-rw-r--r--chat.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/chat.cpp b/chat.cpp
index 0d023bb..32c72c3 100644
--- a/chat.cpp
+++ b/chat.cpp
@@ -70,3 +70,9 @@ DcChat::isMuted()
{
return dc_chat_is_muted(m_chat);
}
+
+int
+DcChat::getVisibility()
+{
+ return dc_chat_get_visibility(m_chat);
+}