mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-29 19:13:16 +01:00
Make WebSocket optional, disabled by default. Add tests.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package org.whispersystems.textsecuregcm.configuration;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
public class WebsocketConfiguration {
|
||||
|
||||
@JsonProperty
|
||||
private boolean enabled = false;
|
||||
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user