git ssb

7+

dinoworm ๐Ÿ› / patchcore



Commit 478e04123afe6cee330fbd3a6c626ee0801783ea

contact.obs: ignore invalid friend feed data

Matt McKegg committed on 9/29/2017, 10:17:18 AM
Parent: dcb68fb50cc8bee039bf3b455495c4057767384e

Files changed

contact/obs.jschanged
contact/obs.jsView
@@ -84,9 +84,9 @@
8484 update(dest, reverse[dest], reverseCache)
8585 }
8686
8787 sync.set(true)
88- } else {
88+ } else if (item && ref.isFeed(item.from) && ref.isFeed(item.to)) {
8989 // handle realtime updates
9090 update(item.from, {[item.to]: item.value}, cache)
9191 update(item.to, {[item.from]: item.value}, reverseCache)
9292 }

Built with git-ssb-web