diff --git a/src/call.cpp b/src/call.cpp
index 0cedb49e7b0a249387cc70e82a4f3d027e029913..aac915369a202479dee02f0cc16a7f570b03ed5e 100644
--- a/src/call.cpp
+++ b/src/call.cpp
@@ -168,7 +168,7 @@ Call::setState(CallState call_state, ConnectionState cnx_state, signed code)
             pendingInMessages_.clear();
             pendingOutMessages_.clear();
         }
-    } else if (call_state == CallState::ACTIVE and not pendingOutMessages_.empty()) {
+    } else if (call_state == CallState::ACTIVE and connectionState_ == ConnectionState::CONNECTED and not pendingOutMessages_.empty()) {
         for (const auto& msg : pendingOutMessages_)
             sendTextMessage(msg.first, msg.second);
         pendingOutMessages_.clear();