mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-04 08:27:42 +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() {
|
||||
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({
|
||||
serverUrl: data.serverUrl || '',
|
||||
useCustomServer: data.useCustomServer || false,
|
||||
|
||||
Reference in New Issue
Block a user