diff --git a/src/media/text.cpp b/src/media/text.cpp
index 6bbd7a754d70645f3d85dc6af4f8863ca607d77c..412d71511dbc4d73ff203a83b497db611d155308 100644
--- a/src/media/text.cpp
+++ b/src/media/text.cpp
@@ -293,7 +293,7 @@ void Media::Text::send(const QMap<QString,QString>& message, const bool isMixed)
    recording();
 
    d_ptr->m_pRecording->setCall(call());
-   d_ptr->m_pRecording->d_ptr->insertNewMessage(message,call()->account()->contactMethod(),Media::Direction::OUT);
+   d_ptr->m_pRecording->d_ptr->insertNewMessage(message,call()->peerContactMethod(),Media::Direction::OUT);
 
    d_ptr->updateMimeList(message);