Clarifying which settings are required and optional in example.js
This commit is contained in:
8
index.js
8
index.js
@@ -274,9 +274,11 @@ Searxng.prototype.handleMessage = function(event, room) {
|
||||
};
|
||||
|
||||
Searxng.prototype.startUploadMatrixClient = function() {
|
||||
(async () => {
|
||||
this.uploadMatrixClient.startClient({initialSyncLimit: 1});
|
||||
})();
|
||||
if (this.uploadMatrixClient != undefined && this.uploadMatrixClient != this.matrixClient) {
|
||||
(async () => {
|
||||
this.uploadMatrixClient.startClient({initialSyncLimit: 1});
|
||||
})();
|
||||
}
|
||||
}
|
||||
|
||||
Searxng.prototype.getFormattedHelp = function() {
|
||||
|
||||
Reference in New Issue
Block a user