From 106b4fdd2d4b0cf893d27df7d60085b441f37b9a Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 20 Nov 2015 14:38:32 -0800 Subject: add v4 project roadmap, partial fix for cloning of profile photos on alternate profiles --- include/identity.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/identity.php') diff --git a/include/identity.php b/include/identity.php index 21d919508..4682cf624 100644 --- a/include/identity.php +++ b/include/identity.php @@ -1689,3 +1689,14 @@ function get_channel_default_perms($uid) { return 0; } + + +function profiles_build_sync($channel_id) { + + $r = q("select * from profile where uid = %d", + intval($channel_id) + ); + if($r) { + build_sync_packet($channel_id,array('profile' => $r)); + } +} -- cgit v1.2.3