Commit 5eca36e0 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Removed unusued method on ChatMessage

parent cde7d0de
......@@ -204,14 +204,6 @@ void linphone_chat_message_set_file_transfer_filepath(LinphoneChatMessage *msg,
L_GET_CPP_PTR_FROM_C_OBJECT(msg)->setFileTransferFilepath(L_C_TO_STRING(filepath));
}
bool_t linphone_chat_message_get_to_be_stored(const LinphoneChatMessage *msg) {
return L_GET_CPP_PTR_FROM_C_OBJECT(msg)->isToBeStored();
}
void linphone_chat_message_set_to_be_stored(LinphoneChatMessage *msg, bool_t to_be_stored) {
L_GET_CPP_PTR_FROM_C_OBJECT(msg)->setIsToBeStored(!!to_be_stored);
}
belle_http_request_t * linphone_chat_message_get_http_request(LinphoneChatMessage *msg) {
return L_GET_PRIVATE_FROM_C_OBJECT(msg)->getHttpRequest();
}
......
......@@ -117,7 +117,6 @@ private:
std::string rttMessage = "";
bool isSecured = false;
bool isReadOnly = false;
bool isToBeStored = false;
std::list<std::shared_ptr<Content> > contents;
std::shared_ptr<Content> internalContent;
std::unordered_map<std::string, std::string> customHeaders;
......
......@@ -1283,16 +1283,6 @@ void ChatMessage::setFileTransferFilepath(const string &path) {
d->fileTransferFilePath = path;
}
bool ChatMessage::isToBeStored() const {
L_D();
return d->isToBeStored;
}
void ChatMessage::setIsToBeStored(bool store) {
L_D();
d->isToBeStored = store;
}
// -----------------------------------------------------------------------------
const LinphoneErrorInfo * ChatMessage::getErrorInfo() const {
......
......@@ -129,9 +129,6 @@ public:
const std::string& getFileTransferFilepath() const;
void setFileTransferFilepath(const std::string &path);
bool isToBeStored() const;
void setIsToBeStored(bool store);
const LinphoneErrorInfo * getErrorInfo() const;
bool isReadOnly() const;
......
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