1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Display user emojies

This commit is contained in:
2020-04-28 19:03:23 +02:00
parent 032b247080
commit e6df696077
3 changed files with 73 additions and 3 deletions

View File

@ -83,8 +83,10 @@ class UsersHelper {
}
/// Get information about a single user. Throws in case of failure
Future<User> getSingleWithThrow(int user) async {
return (await getListWithThrow(Set<int>()..add(user)))[0];
Future<User> getSingleWithThrow(int user,
{bool forceDownload = false}) async {
return (await getListWithThrow(Set<int>()..add(user),
forceDownload: forceDownload))[0];
}
/// Get users information from a given [Set]