2020-04-26 18:15:48 +02:00
|
|
|
import 'package:famedlysdk/famedlysdk.dart';
|
|
|
|
|
|
|
|
extension ClientPresenceExtension on Client {
|
2020-10-03 15:53:08 +02:00
|
|
|
List<Presence> get statuses => presences.values
|
|
|
|
.where((p) => p.presence.statusMsg?.isNotEmpty ?? false)
|
|
|
|
.toList();
|
2020-04-26 18:15:48 +02:00
|
|
|
}
|