Updated profile redrawing

This commit is contained in:
Thomas Mathews 2023-01-06 19:11:34 -08:00
parent 608ac1ed04
commit 800d67651b
3 changed files with 5 additions and 23 deletions

View file

@ -126,13 +126,6 @@ function reply_all(evid) {
reply(evid, true);
}
/*function redraw_my_pfp(model) {
const p = model_get_profile(model, model.pubkey).data;
const html = render_pfp(model.pubkey, p || {});
const el = document.querySelector(".my-userpic");
el.innerHTML = html;
}*/
function update_favicon(path) {
let link = document.querySelector("link[rel~='icon']");
const head = document.getElementsByTagName('head')[0]