mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-13 23:49:29 +01:00
8 lines
224 B
Dart
8 lines
224 B
Dart
import 'package:famedlysdk/famedlysdk.dart';
|
|
|
|
extension ClientPresenceExtension on Client {
|
|
List<Presence> get statuses => presences.values
|
|
.where((p) => p.presence.statusMsg?.isNotEmpty ?? false)
|
|
.toList();
|
|
}
|