diff --git a/file/lib/system/command/commands/InviteCommand.class.php b/file/lib/system/command/commands/InviteCommand.class.php index 24fc532..248f013 100644 --- a/file/lib/system/command/commands/InviteCommand.class.php +++ b/file/lib/system/command/commands/InviteCommand.class.php @@ -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; + } }