mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
Add encryption config
This commit is contained in:
parent
5c000b2fee
commit
7d7c733152
@ -1,16 +1,22 @@
|
||||
# Where the homeserver is located (client-server URL). This should point at
|
||||
# pantalaimon if you're using that.
|
||||
# Pantalaimon if you're using that.
|
||||
homeserverUrl: "https://matrix.org"
|
||||
|
||||
|
||||
# Where the homeserver is located (client-server URL). NOT panalaimon.
|
||||
# Where the homeserver is located (client-server URL). NOT Pantalaimon.
|
||||
rawHomeserverUrl: "https://matrix.org"
|
||||
|
||||
|
||||
# The access token for the bot to use. Do not populate if using Pantalaimon.
|
||||
accessToken: "YOUR_TOKEN_HERE"
|
||||
|
||||
# Pantalaimon options (https://github.com/matrix-org/pantalaimon)
|
||||
# Enable support for handling encrypted rooms. This cannot be enabled if
|
||||
# Pantalaimon is enabled.
|
||||
encryption:
|
||||
enabled: false
|
||||
|
||||
# Pantalaimon options (https://github.com/matrix-org/pantalaimon). This cannot be
|
||||
# enabled if encryption is enabled.
|
||||
pantalaimon:
|
||||
# If true, accessToken above is ignored and the username/password below will be
|
||||
# used instead. The access token of the bot will be stored in the dataPath.
|
||||
|
@ -34,6 +34,9 @@ interface IConfig {
|
||||
username: string;
|
||||
password: string;
|
||||
};
|
||||
encryption: {
|
||||
enabled: boolean;
|
||||
};
|
||||
dataPath: string;
|
||||
acceptInvitesFromGroup: string;
|
||||
autojoinOnlyIfManager: boolean;
|
||||
@ -96,6 +99,9 @@ const defaultConfig: IConfig = {
|
||||
username: "",
|
||||
password: "",
|
||||
},
|
||||
encryption: {
|
||||
enabled: false,
|
||||
},
|
||||
dataPath: "/data/storage",
|
||||
acceptInvitesFromGroup: '+example:example.org',
|
||||
autojoinOnlyIfManager: false,
|
||||
|
Loading…
Reference in New Issue
Block a user