mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 18:25:42 +08:00
Ref T761, partner callsign message relay (swift with co-pilot)
* handle server error messages correctly as "error" * (relayed) sender can be ATC or aircraft * relay private messages correctly
This commit is contained in:
committed by
Mat Sutcliffe
parent
22d8b52fe8
commit
f07ca09424
@@ -63,7 +63,7 @@ namespace BlackCore
|
||||
{
|
||||
BlackMisc::CLogMessage(static_cast<ServerError *>(nullptr)).debug(u"Wrong number of arguments.");
|
||||
return {};
|
||||
};
|
||||
}
|
||||
return ServerError(tokens[0], tokens[1], static_cast<ServerErrorCode>(tokens[2].toInt()), tokens[3], tokens[4]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user