mirror of
https://github.com/kevachat/geminiapp.git
synced 2025-03-13 05:51:39 +00:00
sort rooms by time updated
This commit is contained in:
parent
006606a4c5
commit
f65200d69a
@ -89,6 +89,7 @@ class Room
|
||||
[
|
||||
'name' => $namespace['displayName'],
|
||||
'date' => $date,
|
||||
'time' => $time,
|
||||
'total' => $total
|
||||
];
|
||||
}
|
||||
@ -125,6 +126,7 @@ class Room
|
||||
$pending['namespace']
|
||||
),
|
||||
'date' => $date,
|
||||
'time' => $time,
|
||||
'total' => $total
|
||||
];
|
||||
}
|
||||
@ -133,7 +135,7 @@ class Room
|
||||
array_multisort(
|
||||
array_column(
|
||||
$namespaces,
|
||||
'total'
|
||||
'time'
|
||||
),
|
||||
SORT_DESC,
|
||||
$namespaces
|
||||
|
Loading…
x
Reference in New Issue
Block a user