aboutsummaryrefslogtreecommitdiff
path: root/chat.cpp
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-07-26 00:07:19 +0300
committerlink2xt <link2xt@testrun.org>2021-07-26 00:08:11 +0300
commitcd6fe80f84c1f1e44b4ee306ac2672a7287778c1 (patch)
tree150ab9e3b2f4a2228be0387fab5d7f40af363d2b /chat.cpp
parent9e5fe2dc856795d0d3d8b6a3adf3fdd3015d9158 (diff)
downloadkdeltachat-cd6fe80f84c1f1e44b4ee306ac2672a7287778c1.tar.gz
kdeltachat-cd6fe80f84c1f1e44b4ee306ac2672a7287778c1.zip
Get rid of the contact requests chat
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 bcda818..0d023bb 100644
--- a/chat.cpp
+++ b/chat.cpp
@@ -54,6 +54,12 @@ DcChat::getColor()
}
bool
+DcChat::isContactRequest()
+{
+ return dc_chat_is_contact_request(m_chat);
+}
+
+bool
DcChat::canSend()
{
return dc_chat_can_send(m_chat);