mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-31 23:57:10 -04:00
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
This commit is contained in:
parent
65fdfac699
commit
49e3cfbcb8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user