mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20: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:
parent
5ba68b057b
commit
6d0a19a53e
@ -66,4 +66,11 @@ public function getType() {
|
|||||||
public function getMessage() {
|
public function getMessage() {
|
||||||
return \wcf\system\WCF::getLanguage()->getDynamicVariable('chat.message.invite.success', array('user' => $this->user, 'room' => $this->room));
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user