mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-31 21:21:41 +00:00
fix: include username in settings fetch to ensure it is sent to server
This commit is contained in:
@@ -58,7 +58,7 @@ async function getPeerId() {
|
|||||||
|
|
||||||
async function getSettings() {
|
async function getSettings() {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
chrome.storage.sync.get(['serverUrl', 'useCustomServer', 'roomId', 'password', 'targetTabId'], (data) => {
|
chrome.storage.sync.get(['serverUrl', 'useCustomServer', 'roomId', 'password', 'targetTabId', 'username'], (data) => {
|
||||||
resolve({
|
resolve({
|
||||||
serverUrl: data.serverUrl || '',
|
serverUrl: data.serverUrl || '',
|
||||||
useCustomServer: data.useCustomServer || false,
|
useCustomServer: data.useCustomServer || false,
|
||||||
|
|||||||
Reference in New Issue
Block a user