mirror of
https://github.com/signalapp/Signal-Server
synced 2026-02-24 01:45:14 +00:00
Move turn secret to static configuration
This commit is contained in:
committed by
Jon Chambers
parent
13456bad3a
commit
9cfd88a23f
@@ -554,7 +554,8 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
|
||||
pushNotificationManager,
|
||||
pushLatencyManager);
|
||||
final ReceiptSender receiptSender = new ReceiptSender(accountsManager, messageSender, receiptSenderExecutor);
|
||||
final TurnTokenGenerator turnTokenGenerator = new TurnTokenGenerator(dynamicConfigurationManager);
|
||||
final TurnTokenGenerator turnTokenGenerator = new TurnTokenGenerator(dynamicConfigurationManager,
|
||||
config.getTurnSecretConfiguration().secret().value());
|
||||
|
||||
RecaptchaClient recaptchaClient = new RecaptchaClient(
|
||||
config.getRecaptchaConfiguration().projectPath(),
|
||||
|
||||
Reference in New Issue
Block a user