git ssb

2+

ev / mvd



Commit a25307a21eac9511355938bbb1199cf253be979d

include all message types in logstream

Ev Bogue committed on 4/21/2018, 2:43:14 AM
Parent: c6c1604992a6dd8231bbb8bf42a6957286330677

Files changed

style.csschanged
style.css.jsonchanged
views.jschanged
style.cssView
@@ -17,4 +17,10 @@
1717
1818 .timestamp {
1919 float: right;
2020 }
21 +
22 +.avatar--small img {
23 + vertical-align: top;
24 + width: 2.5em;
25 + height: 2.5em;
26 +}
style.css.jsonView
@@ -1,1 +1,1 @@
1-".hyperscroll {\n width: 100%;\n}\n\n.hyperscroll > .content {\n max-width: 680px;\n margin-left: auto;\n margin-right: auto;\n}\n\n\n.message {\n display: block;\n margin-top: .25em;\n margin-bottom: .25em;\n}\n\n.timestamp {\n float: right;\n}\n"
1 +".hyperscroll {\n width: 100%;\n}\n\n.hyperscroll > .content {\n max-width: 680px;\n margin-left: auto;\n margin-right: auto;\n}\n\n\n.message {\n display: block;\n margin-top: .25em;\n margin-bottom: .25em;\n}\n\n.timestamp {\n float: right;\n}\n\n.avatar--small img {\n vertical-align: top;\n width: 2.5em;\n height: 2.5em;\n}\n"
views.jsView
@@ -16,11 +16,8 @@
1616
1717 function createStream (opts) {
1818 return pull(
1919 More(sbot.createLogStream, opts),
20- pull.filter(function (data) {
21- return 'string' === typeof data.value.content.text
22- }),
2320 pull.map(function (msg) {
2421 return h('div.message', render(msg))
2522 })
2623 )

Built with git-ssb-web