aboutsummaryrefslogtreecommitdiff
path: root/chat.cpp
diff options
context:
space:
mode:
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);