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", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&0ZtxnihH3oETfi0vhhEwc9O66SrjfiFcHDVBAIxICy0=.sha256" "previous": "&weo9lucKMSz3xzM6l3knRepNnyRIzKlaJnP9NDJAk+g=.sha256"
} }

View File

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