From 3fdd110e0775113d2246a9db16c6c920ecddf19d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 31 Mar 2016 13:21:48 +0200 Subject: mod chat rework continued --- mod/chatsvc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod') 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' : '') ); } } -- cgit v1.2.3