git ssb

10+

Matt McKegg / patchwork



Commit d03a610c77cee73a156ebe6e4fc1f7369d27fe9d

include likes of a missing message (for hint as who to follow)

Matt McKegg committed on 10/19/2017, 12:09:07 AM
Parent: d3414d5beb5d4fc5940f696773b65c3d8b4acb15

Files changed

modules/message/html/missing.jschanged
modules/message/html/missing.jsView
@@ -6,8 +6,9 @@
66
77 exports.needs = nest({
88 'sbot.async.get': 'first',
99 'profile.html.person': 'first',
10+ 'message.html.meta': 'first',
1011 'intl.sync.i18n': 'first'
1112 })
1213
1314 exports.gives = nest('message.html.missing')
@@ -34,8 +35,11 @@
3435 h('div.main', [
3536 h('div.name', ['⚠️ ', h('strong', i18n('Missing message')), i18n(' via '), api.profile.html.person(hintMessage.value.author)]),
3637 h('div.meta', [h('a', {href: id}, id)])
3738 ])
39+ ]),
40+ h('div.meta', [
41+ api.message.html.meta({key: id, value: {missing: true}})
3842 ])
3943 ]),
4044 h('section', [
4145 h('p', [i18n(`The author of this message could be outside of your follow range or they may be blocked.`)])

Built with git-ssb-web