Remove backward compatibility (always using permanent working dir).

This commit is contained in:
John Livingston
2021-06-02 12:41:28 +02:00
parent 56f1c5895e
commit af20f3918f
5 changed files with 15 additions and 66 deletions

View File

@ -212,7 +212,6 @@ class ProsodyConfigContent {
/**
* Calling this method makes Prosody use mod_muc_mam to store rooms history.
* Should not be used when using a temporary dir.
* @param duration: how long the server must store messages. See https://prosody.im/doc/modules/mod_muc_mam
*/
useMam (duration: string): void {
@ -232,7 +231,6 @@ class ProsodyConfigContent {
/**
* Rooms will be persistent by default (they will not be deleted if no participant).
* Should not be used when using a temporary dir.
*/
useDefaultPersistent (): void {
this.muc.set('muc_room_default_persistent', true)

View File

@ -6,7 +6,6 @@ interface ProsodyFilePaths {
config: string
data: string
modules: string
permanent: boolean
}
export {