git ssb

0+

Kira / %V53yIAO6ZNGv1Lx9tCP…



forked from cel / ssb-issues

Commit 6d96e74423057b99bdf9a338d03ad257c35032d8

Handle sync message from links

Charles Lehner committed on 5/24/2016, 2:56:09 PM
Parent: c16a7154c78501f76ae73462a24f69b11382708b

Files changed

index.jschanged
index.jsView
@@ -97,9 +97,9 @@
9797 )
9898 }
9999
100100 function onOldMsg(msg) {
101- if (!isUpdateValid(issue, msg))
101+ if (!msg.value || !isUpdateValid(issue, msg))
102102 return
103103 var c = msg.value.content
104104
105105 // handle updates to issue
@@ -125,9 +125,9 @@
125125 checkReady()
126126 }
127127
128128 function onNewMsg(msg) {
129- if (!isUpdateValid(issue, msg))
129+ if (!msg.value || !isUpdateValid(issue, msg))
130130 return
131131 var c = msg.value.content
132132
133133 // handle updates to issue

Built with git-ssb-web