Commit 9109c1d6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add option for implementing reply-to support in recipient

parent 7d5ce599
......@@ -10,6 +10,12 @@ project(Messagelib VERSION ${PIM_VERSION})
option(MIMETREEPARSER_ONLY_BUILD "Build only mimetreeparser" FALSE)
option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client." FALSE)
option(IMPLEMENT_REPLY_TO_SUPPORT_RECIPIENT "EXperimental" FALSE)
if (IMPLEMENT_REPLY_TO_SUPPORT_RECIPIENT)
set(IMPLEMENT_REPLY_TO_SUPPORT_RECIPIENT TRUE)
endif()
set(KF5_VERSION "5.51.0")
......
......@@ -11,6 +11,8 @@ endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/part)
configure_file(config-messagecomposer.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-messagecomposer.h)
set( messagecomposer_job_src
job/jobbase.cpp
job/contentjobbase.cpp
......
#cmakedefine IMPLEMENT_REPLY_TO_SUPPORT_RECIPIENT 1
......@@ -23,6 +23,7 @@
*/
#include "recipient.h"
#include "config-messagecomposer.h"
#include <KLocalizedString>
......@@ -135,7 +136,7 @@ QStringList Recipient::allTypeLabels()
types.append(typeLabel(To));
types.append(typeLabel(Cc));
types.append(typeLabel(Bcc));
#ifdef IMPLEMENT_REPLY_TO
#ifdef IMPLEMENT_REPLY_TO_SUPPORT_RECIPIENT
types.append(typeLabel(ReplyTo));
#endif
return types;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment