git ssb

16+

Dominic / patchbay



Commit c72544707f7832546326e266f095b59e7ff40f3e

/notifications - hopefully squash duplicate message bug

mixmix committed on 10/13/2018, 11:33:12 AM
Parent: 604bfba232f38fbfe19238adda988fe86e0131d7

Files changed

app/page/notifications.jschanged
app/page/notifications.jsView
@@ -65,11 +65,15 @@
6565 function pullMentions (opts) {
6666 const query = [{
6767 $filter: {
6868 dest: api.keys.sync.id(),
69- timestamp: { $gt: 0 },
69 + timestamp: { $gt: 0 }
70 + }
71 + }, {
72 + $filter: {
7073 value: {
7174 author: { $ne: api.keys.sync.id() } // not my messages!
75 + // NOTE putting this in second filter might be necessary to stop index trying to use this author value
7276 }
7377 }
7478 }]
7579

Built with git-ssb-web