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

This commit is contained in:
2025-10-16 12:47:20 -04:00
parent 7a47ffaa61
commit acd114650a
2 changed files with 12 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🦀",
"previous": "&Cz8miv45HPxRJGyj1dj2Z2us1rL6HTNxZyeR1pmYaWw=.sha256"
"previous": "&MmdDLLTFsefkzBvp4GGrghv95GPgd/00QKPBLEnpUgg=.sha256"
}

View File

@@ -622,15 +622,17 @@ class TfMessageElement extends LitElement {
let sorted = this.message.messages
.map((x) => [
x.author,
x.content.blocking !== undefined
? x.content.blocking
? 'is blocking'
: 'is no longer blocking'
: x.content.following !== undefined
? x.content.following
? 'is following'
: 'is no longer following'
: '',
x.content.following && x.content.blocking
? 'is following and blocking'
: x.content.following
? 'is following'
: x.content.blocking
? 'is blocking'
: x.content.blocking !== undefined
? 'is no longer blocking'
: x.content.following !== undefined
? 'is no longer following'
: '',
x.content.contact,
x,
])