Ask if user wants to sync contacts with relays
This commit is contained in:
parent
f706ed17d0
commit
5895e0f052
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ function click_toggle_follow_user(el) {
|
||||||
}
|
}
|
||||||
el.innerText = is_friend ? "Follow" : "Unfollow";
|
el.innerText = is_friend ? "Follow" : "Unfollow";
|
||||||
contacts_save(contacts);
|
contacts_save(contacts);
|
||||||
|
if (window.confirm("Contacts are saved locally. Do you want to sync you contacts with all relays?")) {
|
||||||
|
update_contacts();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_new() {
|
function show_new() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue