mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-18 07:12:15 +00:00
Save current ws-domain alongside peer secrets and never send it to other ws-servers (fixes #269)
This commit is contained in:
@@ -118,8 +118,8 @@ class PairDrop {
|
||||
this.$headerNotificationBtn.removeAttribute('hidden');
|
||||
}
|
||||
|
||||
let roomSecrets = await PersistentStorage.getAllRoomSecrets();
|
||||
if (roomSecrets.length > 0) {
|
||||
let roomSecretsCount = await PersistentStorage.getAllRoomSecretsCount();
|
||||
if (roomSecretsCount > 0) {
|
||||
this.$headerEditPairedDevicesBtn.removeAttribute('hidden');
|
||||
this.$footerPairedDevicesBadge.removeAttribute('hidden');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user