aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-31 13:21:48 +0200
committerMario Vavti <mario@mariovavti.com>2016-03-31 13:21:48 +0200
commit3fdd110e0775113d2246a9db16c6c920ecddf19d (patch)
tree923312a2ca85025b230d7b331bae2ec211eb64ea /mod
parent1cd3b4182595b838a535dd6b6990251db05d49e6 (diff)
downloadvolse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.tar.gz
volse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.tar.bz2
volse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.zip
mod chat rework continued
Diffstat (limited to 'mod')
-rw-r--r--mod/chatsvc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/chatsvc.php b/mod/chatsvc.php
index 829fef6f8..bdf4a9f8c 100644
--- a/mod/chatsvc.php
+++ b/mod/chatsvc.php
@@ -137,7 +137,8 @@ function chatsvc_content(&$a) {
'name' => $rr['xchan_name'],
'isotime' => datetime_convert('UTC', date_default_timezone_get(), $rr['created'], 'c'),
'localtime' => datetime_convert('UTC', date_default_timezone_get(), $rr['created'], 'r'),
- 'text' => smilies(bbcode($rr['chat_text']))
+ 'text' => smilies(bbcode($rr['chat_text'])),
+ 'self' => ((get_observer_hash() == $rr['chat_xchan']) ? 'self' : '')
);
}
}