mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-03-31 10:44:52 +00:00
Remove events from supportsFastSelect() if the default is false
This commit is contained in:
parent
b8a76b412f
commit
18fc4baf11
@ -106,11 +106,6 @@ final class TemproomInvitedMessageType implements IMessageType
|
|||||||
*/
|
*/
|
||||||
public function supportsFastSelect(): bool
|
public function supportsFastSelect(): bool
|
||||||
{
|
{
|
||||||
$parameters = [
|
return false;
|
||||||
'result' => false,
|
|
||||||
];
|
|
||||||
EventHandler::getInstance()->fireAction($this, 'supportsFastSelect', $parameters);
|
|
||||||
|
|
||||||
return $parameters['result'];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -133,11 +133,6 @@ final class WhisperMessageType implements IMessageType
|
|||||||
*/
|
*/
|
||||||
public function supportsFastSelect(): bool
|
public function supportsFastSelect(): bool
|
||||||
{
|
{
|
||||||
$parameters = [
|
return false;
|
||||||
'result' => false,
|
|
||||||
];
|
|
||||||
EventHandler::getInstance()->fireAction($this, 'supportsFastSelect', $parameters);
|
|
||||||
|
|
||||||
return $parameters['result'];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user