From 6e54bb8e5122ef9eb8aa088eb08d2b080f4092e3 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 22 Aug 2019 14:07:31 +0100 Subject: [PATCH] default is unused here --- src/SendHistoryManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SendHistoryManager.js b/src/SendHistoryManager.js index c838f1246b..794a58ad6f 100644 --- a/src/SendHistoryManager.js +++ b/src/SendHistoryManager.js @@ -23,7 +23,7 @@ export default class SendHistoryManager { lastIndex: number = 0; // used for indexing the storage currentIndex: number = 0; // used for indexing the loaded validated history Array - constructor(roomId: string, prefix: string = 'mx_composer_history_') { + constructor(roomId: string, prefix: string) { this.prefix = prefix + roomId; // TODO: Performance issues?