ssb: Reload the profile on follow/unfollow/block/unblock.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 29m44s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 29m44s
This commit is contained in:
parent
6e5b1127f3
commit
017a74c4e4
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&0ZtxnihH3oETfi0vhhEwc9O66SrjfiFcHDVBAIxICy0=.sha256"
|
"previous": "&weo9lucKMSz3xzM6l3knRepNnyRIzKlaJnP9NDJAk+g=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user