diff options
Diffstat (limited to 'mod')
-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' : '') ); } } |