git ssb

7+

dinoworm 🐛 / patchcore



Commit e9bb4e285f6ed74c209f836552ac3cc01c7822c6

Merge pull request #50 from ssbc/secret-blobs

support secret blobs
Matt McKegg authored on 4/11/2018, 3:34:03 AM
GitHub committed on 4/11/2018, 3:34:03 AM
Parent: 77e61a99aecc53624a9d106a5ea374c2b933963b
Parent: 644b8222bca3871d183ca534426fa06d5228e26d

Files changed

message/html/markdown.jschanged
message/html/markdown.jsView
@@ -41,9 +41,9 @@
4141 : api.emoji.sync.url(emoji)
4242 return renderEmoji(emoji, url)
4343 },
4444 toUrl: (id) => {
45- if (ref.isBlob(id)) return api.blob.sync.url(id)
45 + if (id[0] == '&') return api.blob.sync.url(id)
4646 if (mentions[id]) {
4747 return mentions[id]
4848 } else if (ref.isLink(id) || id.startsWith('#') || id.startsWith('?')) {
4949 return id

Built with git-ssb-web