ssb: Reload the profile on follow/unfollow/block/unblock.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 29m44s

This commit is contained in:
Cory McWilliams 2025-02-12 18:20:44 -05:00
parent 6e5b1127f3
commit 017a74c4e4
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🦀",
"previous": "&0ZtxnihH3oETfi0vhhEwc9O66SrjfiFcHDVBAIxICy0=.sha256"
"previous": "&weo9lucKMSz3xzM6l3knRepNnyRIzKlaJnP9NDJAk+g=.sha256"
}

View File

@ -62,6 +62,7 @@ class TfProfileElement extends LitElement {
}
modify(change) {
let self = this;
tfrpc.rpc
.appendMessage(
this.whoami,
@ -73,6 +74,10 @@ class TfProfileElement extends LitElement {
change
)
)
.then(function() {
self._follow_whoami = undefined;
self.load();
})
.catch(function (error) {
alert(error?.message);
});