From b4277532d69e277dcdd364e3c81bb833b40d66e4 Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Wed, 4 Sep 2019 01:01:04 -0700 Subject: [PATCH] Update app/sql.js Co-Authored-By: Beaudan Campbell-Brown --- app/sql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sql.js b/app/sql.js index 056058077..a846ad1e9 100644 --- a/app/sql.js +++ b/app/sql.js @@ -854,7 +854,7 @@ async function updateToLokiSchemaVersion1(currentVersion, instance) { const publicChatData = { ...baseData, - id: 'publicChat:1@' + lokiPublicServerData.serverUrl.replace(/^https?\:\/\//i, ''), + id: `publicChat:1@${lokiPublicServerData.serverUrl.replace(/^https?\:\/\//i, '')}`, server: lokiPublicServerData.serverUrl, name: 'Loki Public Chat', channelId: '1',