mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-23 14:02:34 +01:00
10 lines
262 B
Dart
10 lines
262 B
Dart
import 'package:famedlysdk/famedlysdk.dart';
|
|
|
|
extension ClientPresenceExtension on Client {
|
|
List<Presence> get statusList {
|
|
final statusList = presences.values.toList();
|
|
statusList.sort((a, b) => b.time.compareTo(a.time));
|
|
return statusList;
|
|
}
|
|
}
|