mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 09:26:47 +00:00
Add support for host filtering
This commit is contained in:
1 parent
b97fd17146
commit
2daabd000f
7 files changed
+226
-9
No files matched your search
@@ -78,6 +78,11 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
@JsonProperty
|
||||
private DataSourceFactory messageStore;
|
||||
|
||||
@Valid
|
||||
@NotNull
|
||||
@JsonProperty
|
||||
private DataSourceFactory abuseDatabase;
|
||||
|
||||
@Valid
|
||||
@NotNull
|
||||
@JsonProperty
|
||||
@@ -181,6 +186,10 @@ public class WhisperServerConfiguration extends Configuration {
|
||||
return messageStore;
|
||||
}
|
||||
|
||||
public DataSourceFactory getAbuseDatabaseConfiguration() {
|
||||
return abuseDatabase;
|
||||
}
|
||||
|
||||
public DataSourceFactory getDataSourceFactory() {
|
||||
return database;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user