aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/connections.php')
-rw-r--r--mod/connections.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/connections.php b/mod/connections.php
index e04fb6e63..b36ae78f8 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -169,6 +169,11 @@ function connections_content(&$a) {
}
+ if($cmd === 'refresh') {
+ zot_refresh($orig_record[0],get_app()->get_channel());
+ goaway($a->get_baseurl(true) . '/connections/' . $contact_id);
+ }
+
if($cmd === 'block') {
if(abook_toggle_flag($orig_record[0],ABOOK_FLAG_BLOCKED))
info((($orig_record[0]['abook_flags'] & ABOOK_FLAG_BLOCKED)