main.view--chat
header(v-if='profile')
p {{ profile.chatter }}
hr
p messages: {{ messages }}
hr
p subscriptions: {{ profile.chatter.subscriptions }}
article(v-if='profile.isLoggedIn && target')
h3 {{ profile.id }}
span chatting with: {{ target.profile_id }}
ul#messages.w-flex.column
//- li.pa1(v-for='(message, i in messages)')
//- w-card.w-flex.row
//- article
//- p {{ message.message }}
//- footer
//- p {{ message.publisher }} | {{ message.timetoken }}
//- w-button.my12(@click='openDrawer = i' text) setting
//- w-drawer(absolute v-model='openDrawer' width='160px')
//- p some settings things
input(@keyup.enter='sendMessage' v-model='toSend')
button(@click='sendMessage') send
p(v-else-if='profile.isLoggedIn && !target') No match found between profile {{ $route.params.pid }} and {{ profile.id }}...
w-spinner(bounce v-else)
MainNav