mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Remove events from supportsFastSelect() if the default is false
This commit is contained in:
parent
b8a76b412f
commit
18fc4baf11
@ -106,11 +106,6 @@ public function canSeeInLog(Message $message, Room $room, ?UserProfile $user = n
|
|||||||
*/
|
*/
|
||||||
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 @@ public function canSeeInLog(Message $message, Room $room, ?UserProfile $user = n
|
|||||||
*/
|
*/
|
||||||
public function supportsFastSelect(): bool
|
public function supportsFastSelect(): bool
|
||||||
{
|
{
|
||||||
$parameters = [
|
return false;
|
||||||
'result' => false,
|
|
||||||
];
|
|
||||||
EventHandler::getInstance()->fireAction($this, 'supportsFastSelect', $parameters);
|
|
||||||
|
|
||||||
return $parameters['result'];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user