From ef80085fab6d83a89a9a4309f2e7cdd272a812fe Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 1 Aug 2021 19:23:41 +0300 Subject: Add "pinned" badge for pinned chats --- chat.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chat.cpp') 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); +} -- cgit v1.2.3-70-g09d2