diff --git a/apps/ssb/tf-profile.js b/apps/ssb/tf-profile.js index db8ff402..7d18a5d9 100644 --- a/apps/ssb/tf-profile.js +++ b/apps/ssb/tf-profile.js @@ -103,24 +103,6 @@ class TfProfileElement extends LitElement { input.click(); } - format_message(message) { - let out = { - previous: message.previous ?? null, - }; - if (message.sequence_before_author) { - out.sequence = message.sequence; - out.author = message.author; - } else { - out.author = message.author; - out.sequence = message.sequence; - } - out.timestamp = message.timestamp; - out.hash = message.hash; - out.content = JSON.parse(message.content); - out.signature = message.signature; - return out; - } - render() { let self = this; let profile = this.users[this.id] || {}; @@ -166,6 +148,10 @@ class TfProfileElement extends LitElement {
+
+ + this.editing = Object.assign({}, this.editing, {publicWebHosting: event.srcElement.checked})}> +
` : null; let image = typeof(profile.image) == 'string' ? profile.image : profile.image?.link;