aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/contact.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/contact.js b/lib/contact.js
index 676c84a..c419921 100644
--- a/lib/contact.js
+++ b/lib/contact.js
@@ -10,6 +10,7 @@ module.exports = function (sbot, id, cb) {
var done = multicb({pluck: 1})
pull(
sbot.links2.read({
+ reverse: true, // oldest first. ssb-links has this switched
query: [
{$filter: {
source: id,
@@ -31,6 +32,7 @@ module.exports = function (sbot, id, cb) {
)
pull(
sbot.links2.read({
+ reverse: true, // oldest first. ssb-links has this switched
query: [
{$filter: {
dest: id,