Skip to content
Snippets Groups Projects
Commit 1dcd67da authored by Andreas Hatziiliou's avatar Andreas Hatziiliou
Browse files

message_engine: remove check which blocks send

When experiencing connectivity changes, a users registration
state might be ERROR_NETWORK, which would cause the message
not to send. This caused an issue with usage of jami over
a local network. If a device would disconnect from wifi/eth,
the various channels they had open with other local users
would keep alive but messages could not be sent.

Change-Id: Id3219fce31545b8102e9589b82aad32968d50f64
parent fec77c4f
No related branches found
No related tags found
No related merge requests found
......@@ -86,8 +86,6 @@ MessageEngine::onPeerOnline(const std::string& peer,
void
MessageEngine::retrySend(const std::string& peer, const std::string& deviceId, bool retryOnTimeout)
{
if (account_.getRegistrationState() != RegistrationState::REGISTERED)
return;
struct PendingMsg {
MessageToken token;
std::string to;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment