aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/channel.php b/include/channel.php
index 23ceb1414..f6252f094 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -488,6 +488,7 @@ function change_channel_keys($channel) {
if(! $r) {
return $ret;
}
+
$r = q("select * from channel where channel_id = %d",
intval($channel['channel_id'])
);
@@ -532,6 +533,8 @@ function change_channel_keys($channel) {
}
}
+ build_sync_packet($channel['channel_id'], [ 'keychange' => $stored ]);
+
$a = q("select * from abook where abook_xchan = '%s' and abook_self = 1",
dbesc($stored['old_hash'])
);