Fixed emoticon ordering in chat.
This commit is contained in:
parent
2214dffc5b
commit
fb41c71ee9
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ final class SharpChatRoutes {
|
||||||
$response->setHeader('Access-Control-Allow-Origin', '*');
|
$response->setHeader('Access-Control-Allow-Origin', '*');
|
||||||
$response->setHeader('Access-Control-Allow-Methods', 'GET');
|
$response->setHeader('Access-Control-Allow-Methods', 'GET');
|
||||||
|
|
||||||
$emotes = $this->emotes->getEmotes();
|
$emotes = $this->emotes->getEmotes(orderBy: 'order');
|
||||||
$out = [];
|
$out = [];
|
||||||
|
|
||||||
foreach($emotes as $emoteInfo) {
|
foreach($emotes as $emoteInfo) {
|
||||||
|
|
Loading…
Reference in a new issue