From 9e55d08eb6f1bf014f4a0c9b259e1214bf28aecf Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 2 Feb 2016 01:48:08 +0000 Subject: [PATCH] Reset eliding of duplicate UDP messages if a Replay message is received UDP message servers will not receive a Status until some status field changes if they join a network with existing clients. To avoid this receipt of a Replay message, which should be the first message a server sends after negotiating the schema, now cuases the duplicate message check to be disabled for the next message. This should be sufficient for servers to get into sync. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- MessageClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MessageClient.cpp b/MessageClient.cpp index e4260eb6f..009097d4f 100644 --- a/MessageClient.cpp +++ b/MessageClient.cpp @@ -158,6 +158,7 @@ void MessageClient::impl::parse_message (QByteArray const& msg) case NetworkMessage::Replay: if (check_status (in) != Fail) { + last_message_.clear (); Q_EMIT self_->replay (); } break;