1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-10 00:30:09 +00:00
This commit is contained in:
Tim Düsterhus 2013-03-11 14:04:31 +01:00
parent 8f2f2a4ed5
commit 7bfead22c9
2 changed files with 4 additions and 4 deletions

View File

@ -218,9 +218,9 @@ public function save() {
));
$this->objectAction->executeAction();
$returnValues = $this->objectAction->getReturnValues();
// add activity points
\wcf\system\user\activity\point\UserActivityPointHandler::getInstance()->fireEvent('be.bastelstu.chat.activityPointEvent.message', $returnValues->messageID, WCF::getUser()->userID);
\wcf\system\user\activity\point\UserActivityPointHandler::getInstance()->fireEvent('be.bastelstu.chat.activityPointEvent.message', $returnValues['returnValues']->messageID, WCF::getUser()->userID);
$this->saved();
}

View File

@ -4,7 +4,7 @@
<title>{$room} - {lang}chat.general.title{/lang} - {PAGE_TITLE|language}</title>
{include file='headInclude' sandbox=false}
{include file='javascriptInclude'}
{include file='javascriptInclude' application='chat'}
<script type="text/javascript">
//<![CDATA[
var chat;
@ -92,7 +92,7 @@
<div id="timsChatTopic" class="container{if $room->topic|language === ''} empty{/if}">{$room->topic|language}</div>
<fieldset>
<div id="timsChatMessageContainer" class="timsChatMessageContainer container box shadow1">
<noscript><p class="error">{lang}chat.general.noJs{/lang}</p></noscript>
<p class="error noJsOnly">{lang}chat.general.noJs{/lang}</p>
<ul>
</ul>
</div>