1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Add missing getReceiver() in InviteCommand

see https://tims.bastelstu.be/forum/index.php/Thread/155-Temproom-Einladung-Falsche-Bezeichnung/
This commit is contained in:
Tim Düsterhus 2014-04-13 17:58:27 +02:00
parent 5ba68b057b
commit 6d0a19a53e

View File

@ -66,4 +66,11 @@ public function getType() {
public function getMessage() {
return \wcf\system\WCF::getLanguage()->getDynamicVariable('chat.message.invite.success', array('user' => $this->user, 'room' => $this->room));
}
/**
* @see \chat\system\command\ICommand::getReceiver()
*/
public function getReceiver() {
return \wcf\system\WCF::getUser()->userID;
}
}