ssb: Add a button on profiles to open a private chat.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
2025-08-20 19:19:34 -04:00
parent 982a61f4bf
commit 45fb9eda1c
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&NC2iMxty4T/ThJpogxBg2LMU5QJIwY3dTSPt/GC1Dm0=.sha256" "previous": "&rXz3M/3YLTkFQ8QkOJJItKAgBsu1aXBkQjy7M6/+I9w=.sha256"
} }

View File

@@ -349,6 +349,9 @@ class TfProfileElement extends LitElement {
${until(this.load_follows(), html`<p>Loading accounts followed...</p>`)} ${until(this.load_follows(), html`<p>Loading accounts followed...</p>`)}
<footer class="w3-container"> <footer class="w3-container">
<p> <p>
<a class="w3-button w3-theme-d1" href=${'#🔐' + (this.id != this.whoami ? this.id : '')}>
Open Private Chat
</a>
${edit} ${edit}
${follow} ${follow}
${block} ${block}