From b7bac45427a400275597faa9b51c4d277fe1f5c7 Mon Sep 17 00:00:00 2001
From: Max Kostikov <max@kostikov.co>
Date: Thu, 20 Feb 2020 20:03:50 +0100
Subject: Revert "Use argv() instead URI parsing"

This reverts commit bcfb69eeeef6a0506a0ec0574a03b673df84a55a
---
 include/zot.php | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'include/zot.php')

diff --git a/include/zot.php b/include/zot.php
index d08146287..c02dab162 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3611,6 +3611,9 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
 		if(array_key_exists('app',$arr) && $arr['app'])
 			sync_apps($channel,$arr['app']);
 
+		if(array_key_exists('addressbook',$arr) && $arr['addressbook'])
+			sync_addressbook($channel,$arr['addressbook']);
+
 		if(array_key_exists('chatroom',$arr) && $arr['chatroom'])
 			sync_chatrooms($channel,$arr['chatroom']);
 
-- 
cgit v1.2.3