Skip to content
Snippets Groups Projects
Commit ee100f58 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

sipaccountbase: cleanup

Change-Id: Ide0f32a10e07d1a64c72cc2e27760a3e75595f28
parent 81acc1cb
No related branches found
No related tags found
No related merge requests found
...@@ -497,7 +497,6 @@ SIPAccountBase::onTextMessage(const std::string& id, const std::string& from, ...@@ -497,7 +497,6 @@ SIPAccountBase::onTextMessage(const std::string& id, const std::string& from,
JAMI_WARN("Error parsing composing state: %s", e.what()); JAMI_WARN("Error parsing composing state: %s", e.what());
} }
} else if (m.first == MIME_TYPE_IMDN) { } else if (m.first == MIME_TYPE_IMDN) {
JAMI_WARN("Received message displayed: %s", m.second.c_str());
try { try {
static const std::regex IMDN_MSG_ID_REGEX("<message-id>\\s*(\\w+)\\s*<\\/message-id>"); static const std::regex IMDN_MSG_ID_REGEX("<message-id>\\s*(\\w+)\\s*<\\/message-id>");
static const std::regex IMDN_STATUS_REGEX("<status>\\s*<(\\w+)\\/>\\s*<\\/status>"); static const std::regex IMDN_STATUS_REGEX("<status>\\s*<(\\w+)\\/>\\s*<\\/status>");
...@@ -520,7 +519,6 @@ SIPAccountBase::onTextMessage(const std::string& id, const std::string& from, ...@@ -520,7 +519,6 @@ SIPAccountBase::onTextMessage(const std::string& id, const std::string& from,
JAMI_WARN("Message displayed: can't parse status"); JAMI_WARN("Message displayed: can't parse status");
continue; continue;
} }
JAMI_WARN("Received message displayed: %lld %d", from_hex_string(messageId), isDisplayed);
messageEngine_.onMessageDisplayed(from, from_hex_string(messageId), isDisplayed); messageEngine_.onMessageDisplayed(from, from_hex_string(messageId), isDisplayed);
if (payloads.size() == 1) if (payloads.size() == 1)
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment