mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Fix name issue
This commit is contained in:
@ -82,7 +82,7 @@ class ConversationsHelper {
|
||||
/// about the users of this conversation
|
||||
static String getConversationName(
|
||||
Conversation conversation, UsersList users) {
|
||||
if (conversation.has_name) return conversation.name;
|
||||
if (conversation.hasName) return conversation.name;
|
||||
|
||||
String name = "";
|
||||
int count = 0;
|
||||
@ -106,7 +106,7 @@ class ConversationsHelper {
|
||||
/// Returns null in case of failure
|
||||
static Future<String> getConversationNameAsync(
|
||||
Conversation conversation) async {
|
||||
if (conversation.has_name) return conversation.name;
|
||||
if (conversation.hasName) return conversation.name;
|
||||
|
||||
//Get information about the members of the conversation
|
||||
final members = await UsersHelper().getUsersInfo(conversation.members);
|
||||
|
Reference in New Issue
Block a user