Update user agent version

This commit is contained in:
AsamK 2023-05-21 11:05:59 +02:00
parent 314b3cafbb
commit c9082a63f0

View file

@ -5,7 +5,7 @@ public class BaseConfig {
public final static String PROJECT_NAME = BaseConfig.class.getPackage().getImplementationTitle(); public final static String PROJECT_NAME = BaseConfig.class.getPackage().getImplementationTitle();
public final static String PROJECT_VERSION = BaseConfig.class.getPackage().getImplementationVersion(); public final static String PROJECT_VERSION = BaseConfig.class.getPackage().getImplementationVersion();
final static String USER_AGENT_SIGNAL_ANDROID = "Signal-Android/5.52.1"; final static String USER_AGENT_SIGNAL_ANDROID = "Signal-Android/6.21.2";
final static String USER_AGENT_SIGNAL_CLI = PROJECT_NAME == null final static String USER_AGENT_SIGNAL_CLI = PROJECT_NAME == null
? "signal-cli" ? "signal-cli"
: PROJECT_NAME + "/" + PROJECT_VERSION; : PROJECT_NAME + "/" + PROJECT_VERSION;