mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Display the list of unread conversations
This commit is contained in:
11
lib/lists/unread_conversations_list.dart
Normal file
11
lib/lists/unread_conversations_list.dart
Normal file
@ -0,0 +1,11 @@
|
||||
import 'package:comunic/lists/abstract_list.dart';
|
||||
import 'package:comunic/models/unread_conversation.dart';
|
||||
|
||||
/// List of unread conversations
|
||||
///
|
||||
/// @author Pierre Hubert
|
||||
|
||||
class UnreadConversationsList extends AbstractList<UnreadConversation> {
|
||||
/// Get the ID of the users included in this list
|
||||
Set<int> get usersID => new Set<int>()..addAll(map((f) => f.userID));
|
||||
}
|
Reference in New Issue
Block a user