aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-07 17:22:40 -0700
committerfriendica <info@friendica.com>2013-07-07 17:22:40 -0700
commit6e880cfd4954c4a044358a823fac4dc9d5467a6b (patch)
treea49473747b8d253e54bfc814ba8f7d6e6044df1d /mod/connections.php
parent8b9f2f8ef766c169e77a34c72118d14beb2b21de (diff)
downloadvolse-hubzilla-6e880cfd4954c4a044358a823fac4dc9d5467a6b.tar.gz
volse-hubzilla-6e880cfd4954c4a044358a823fac4dc9d5467a6b.tar.bz2
volse-hubzilla-6e880cfd4954c4a044358a823fac4dc9d5467a6b.zip
use current channel photo for favicon where applicable - might be browser dependent but seems to work on FF
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 89c0bcbc0..1b97412d4 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -23,6 +23,11 @@ function connections_init(&$a) {
$a->data['abook'] = $r[0];
}
}
+
+ $channel = $a->get_channel();
+ if($channel)
+ head_set_icon($channel['xchan_photo_s']);
+
}
function connections_aside(&$a) {