ssb: Slightly improved following/blocking messages. following=true blocking=false is a common situation that should be described as following.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m46s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m46s
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&Cz8miv45HPxRJGyj1dj2Z2us1rL6HTNxZyeR1pmYaWw=.sha256"
|
"previous": "&MmdDLLTFsefkzBvp4GGrghv95GPgd/00QKPBLEnpUgg=.sha256"
|
||||||
}
|
}
|
||||||
|
@@ -622,15 +622,17 @@ class TfMessageElement extends LitElement {
|
|||||||
let sorted = this.message.messages
|
let sorted = this.message.messages
|
||||||
.map((x) => [
|
.map((x) => [
|
||||||
x.author,
|
x.author,
|
||||||
x.content.blocking !== undefined
|
x.content.following && x.content.blocking
|
||||||
? x.content.blocking
|
? 'is following and blocking'
|
||||||
? 'is blocking'
|
: x.content.following
|
||||||
: 'is no longer blocking'
|
? 'is following'
|
||||||
: x.content.following !== undefined
|
: x.content.blocking
|
||||||
? x.content.following
|
? 'is blocking'
|
||||||
? 'is following'
|
: x.content.blocking !== undefined
|
||||||
: 'is no longer following'
|
? 'is no longer blocking'
|
||||||
: '',
|
: x.content.following !== undefined
|
||||||
|
? 'is no longer following'
|
||||||
|
: '',
|
||||||
x.content.contact,
|
x.content.contact,
|
||||||
x,
|
x,
|
||||||
])
|
])
|
||||||
|
Reference in New Issue
Block a user