core: Default to loading into the ssb app. No more messing around.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 26m3s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 26m3s
This commit is contained in:
@ -593,16 +593,19 @@ class TfElement extends LitElement {
|
||||
)}
|
||||
</div>
|
||||
`;
|
||||
let contents =
|
||||
this.guest ?
|
||||
html`<div
|
||||
class="w3-display-middle w3-panel w3-theme-l5 w3-card-4 w3-padding-large w3-round-xlarge w3-xlarge w3-container"
|
||||
>
|
||||
<p>⚠️🦀 Must be logged in to Tilde Friends to scuttle here. 🦀⚠️</p>
|
||||
<footer class="w3-center">
|
||||
<a class="w3-button w3-theme-d1" href=${`/login?return=${encodeURIComponent(this.url)}`}>Login</a>
|
||||
</footer>
|
||||
</div>`
|
||||
let contents = this.guest
|
||||
? html`<div
|
||||
class="w3-display-middle w3-panel w3-theme-l5 w3-card-4 w3-padding-large w3-round-xlarge w3-xlarge w3-container"
|
||||
>
|
||||
<p>⚠️🦀 Must be logged in to Tilde Friends to scuttle here. 🦀⚠️</p>
|
||||
<footer class="w3-center">
|
||||
<a
|
||||
class="w3-button w3-theme-d1"
|
||||
href=${`/login?return=${encodeURIComponent(this.url)}`}
|
||||
>Login</a
|
||||
>
|
||||
</footer>
|
||||
</div>`
|
||||
: !this.loaded || this.loading
|
||||
? html`<div
|
||||
class="w3-display-middle w3-panel w3-theme-l5 w3-card-4 w3-padding-large w3-round-xlarge w3-xlarge"
|
||||
|
@ -253,7 +253,10 @@ class TfMessageElement extends LitElement {
|
||||
render_mentions() {
|
||||
let mentions = this.message?.content?.mentions || [];
|
||||
mentions = mentions.filter(
|
||||
(x) => this.message?.content?.text?.indexOf(typeof(x) === 'string' ? x : x.link) === -1
|
||||
(x) =>
|
||||
this.message?.content?.text?.indexOf(
|
||||
typeof x === 'string' ? x : x.link
|
||||
) === -1
|
||||
);
|
||||
if (mentions.length) {
|
||||
let self = this;
|
||||
|
Reference in New Issue
Block a user