aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-14 21:49:48 -0700
committerfriendica <info@friendica.com>2014-07-14 21:49:48 -0700
commitc398d556b3acf0b5b598b4648a7db70ee1d5317b (patch)
treec05c7b3f0bfc9abbd03f3c0fe935966f588e37db
parent1accf82bd10f73b22e0c169100932ccfbd81977b (diff)
downloadvolse-hubzilla-c398d556b3acf0b5b598b4648a7db70ee1d5317b.tar.gz
volse-hubzilla-c398d556b3acf0b5b598b4648a7db70ee1d5317b.tar.bz2
volse-hubzilla-c398d556b3acf0b5b598b4648a7db70ee1d5317b.zip
index collection sync info by hash rather than id
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 1b02f8d69..1565a11e3 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2138,7 +2138,7 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) {
);
if($r)
$info['collections'] = $r;
- $r = q("select * from group_member where uid = %d",
+ $r = q("select groups.hash as collection, group_member.xchan as member from groups left join group_member on groups.id = group_member.gid where group_member.uid = %d",
intval($uid)
);
if($r)