git ssb

16+

cel / patchfoo



Commit b614cb87e82036808f31e0940b9a67f609212fe4

Add "mention attendees" option for replies to gatherings

cel committed on 12/8/2019, 2:50:23 AM
Parent: 0ea52b9a188055c1bcf1e256c07251dfdc274a45

Files changed

lib/app.jschanged
lib/serve.jschanged
lib/app.jsView
@@ -1333,8 +1333,28 @@
13331333 values: true
13341334 })
13351335 }
13361336
1337 +App.prototype.getLinks2 = function (id, relOrType) {
1338 + return this.sbot.backlinks ? this.sbot.backlinks.read({
1339 + query: [
1340 + {$filter: {
1341 + dest: id,
1342 + value: {
1343 + content: {
1344 + type: relOrType
1345 + }
1346 + }
1347 + }}
1348 + ]
1349 + }) : this.sbotLinks({
1350 + dest: id,
1351 + meta: false,
1352 + values: true,
1353 + rel: relOrType
1354 + })
1355 +}
1356 +
13371357 App.prototype.getShard = function (id, cb) {
13381358 var self = this
13391359 this.getMsgDecrypted(id, function (err, msg) {
13401360 if (err) return cb(new Error('Unable to get shard message: ' + err.stack))
lib/serve.jsView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 137484 bytes
New file size: 139761 bytes

Built with git-ssb-web