web: save contacts works

This commit is contained in:
Thomas Mathews 2022-12-19 22:14:15 -08:00
parent 4db7250ccc
commit 643add9177
5 changed files with 73 additions and 5 deletions

View file

@ -112,7 +112,7 @@ function click_toggle_follow_user(el) {
contacts.friends.add(pubkey);
}
el.innerText = is_friend ? "Follow" : "Unfollow";
contacts_save();
contacts_save(contacts);
}
/* click_event opens the thread view from the element's specified element id