diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-03-31 13:21:48 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-03-31 13:21:48 +0200 |
commit | 3fdd110e0775113d2246a9db16c6c920ecddf19d (patch) | |
tree | 923312a2ca85025b230d7b331bae2ec211eb64ea /mod/chatsvc.php | |
parent | 1cd3b4182595b838a535dd6b6990251db05d49e6 (diff) | |
download | volse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.tar.gz volse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.tar.bz2 volse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.zip |
mod chat rework continued
Diffstat (limited to 'mod/chatsvc.php')
-rw-r--r-- | mod/chatsvc.php | 3 |
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' : '') ); } } |