code: function messageHeader (msg, { replyInfo, priority }) {
        var yourId = api.keys.sync.id()
        var additionalMeta = []
        if (priority === 2) {
          additionalMeta.push(h('span.flag -new', { title: i18n('New Message') }))
        } else if (priority === 1) {
          additionalMeta.push(h('span.flag -unread', { title: i18n('Unread Message') }))
        }
  
        return h('header', [
          h('div.main', [
            h('a.avatar', { href: `${msg.value.author}` }, [
              api.about.html.image(msg.value.author)
            ]),
            h('div.main', [
              h('div.name', [
                api.profile.html.person(msg.value.author),
                msg.value.author === yourId ? [' ', h('span.you', {}, i18n('(you)'))] : null
              ]),
              h('div.meta', [
                api.message.html.timestamp(msg), ' ',
                replyInfo
              ])
            ])
          ]),
          h('div.meta', [
            additionalMeta,
            api.message.html.metas(msg)
          ])
        ])
      }
docs: scoped