Update app/sql.js

Co-Authored-By: Beaudan Campbell-Brown <beau@loki.network>
pull/481/head
Ryan Tharp 6 years ago committed by GitHub
parent dffcf51f88
commit b4277532d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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',

Loading…
Cancel
Save