1
0
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:
Tim Düsterhus 2022-03-04 20:17:20 +01:00
parent b8a76b412f
commit 18fc4baf11
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
2 changed files with 2 additions and 12 deletions

View File

@ -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'];
} }
} }

View File

@ -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'];
} }
} }