mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
Save current ws-domain alongside peer secrets and never send it to other ws-servers (fixes #269)
This commit is contained in:
parent
9dae6d588d
commit
6f194db843
3 changed files with 67 additions and 24 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue