fix: include username in settings fetch to ensure it is sent to server

This commit is contained in:
Timo
2026-04-22 11:46:07 +02:00
parent acd18b4d7b
commit 6afae29252
+1 -1
View File
@@ -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,