hubl/src/views/page-messages.pug
2020-11-26 23:31:38 +01:00

26 lines
689 B
Plaintext

.content-box.flex.full-width
div.content-box__header
solid-display(
bind-resources
fields='avatar-container(account.picture), text(name, hyphen, at, username)'
value-hyphen=" - "
value-at="@"
widget-account.picture='hubl-user-avatar'
class-text="avatar-text"
class-avatar-container="avatar-container"
class-account.picture='avatar'
class-name='h1-like'
class-hypen='h1-like'
)
.chat-view
solid-xmpp-chat(
data-authentication='login',
data-auto-login='true',
data-websocket-url=`${xmppWebsocket || 'wss://jabber.happy-dev.fr/xmpp-websocket'}`,
data-i18n='en',
bind-resources
)