I2CP: Additional changes for release/API version split

Missed in previous checkin
This commit is contained in:
zzz
2021-03-04 07:58:49 -05:00
parent 74c493b1fe
commit 638d471d6b
2 changed files with 3 additions and 3 deletions

View File

@@ -199,7 +199,7 @@ class ClientMessageEventListener implements I2CPMessageReader.I2CPMessageEventLi
return;
try {
// only send version if the client can handle it (0.8.7 or greater)
_runner.doSend(new SetDateMessage(clientVersion != null ? CoreVersion.VERSION : null));
_runner.doSend(new SetDateMessage(clientVersion != null ? CoreVersion.PUBLISHED_VERSION : null));
} catch (I2CPMessageException ime) {
if (_log.shouldLog(Log.ERROR))
_log.error("Error writing out the setDate message", ime);

View File

@@ -78,11 +78,11 @@ class QueuedClientConnectionRunner extends ClientConnectionRunner {
/**
* The client version.
* @return CoreVersion.VERSION
* @return CoreVersion.PUBLISHED_VERSION
* @since 0.9.7
*/
@Override
public String getClientVersion() {
return CoreVersion.VERSION;
return CoreVersion.PUBLISHED_VERSION;
}
}