aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-11-02 21:11:43 +0000
committerThomas Willingham <founder@kakste.com>2013-11-02 21:11:43 +0000
commitced0a9ab74f1c7563c0618c338c85a358e21ff5d (patch)
tree4f96a0b61bdb8ad1535932dcde2c83227b5f3e6f /mod/message.php
parentb95d4c118693df21eabea3e75b258debd334367a (diff)
downloadvolse-hubzilla-ced0a9ab74f1c7563c0618c338c85a358e21ff5d.tar.gz
volse-hubzilla-ced0a9ab74f1c7563c0618c338c85a358e21ff5d.tar.bz2
volse-hubzilla-ced0a9ab74f1c7563c0618c338c85a358e21ff5d.zip
Don't set widgets if you're not a local user.
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/message.php b/mod/message.php
index 1b4c6ae26..bd2545ea5 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -9,6 +9,9 @@ require_once('include/Contact.php');
function message_aside(&$a) {
+ if (! local_user())
+ return;
+
$a->set_widget('msgaside',replace_macros(get_markup_template('message_side.tpl'), array(
'$tabs'=> array(),