diff --git a/lib/models/chat_room/chat_room.dart b/lib/models/chat_room/chat_room.dart index 851e977..a741cc7 100644 --- a/lib/models/chat_room/chat_room.dart +++ b/lib/models/chat_room/chat_room.dart @@ -17,9 +17,7 @@ class ChatRoom { factory ChatRoom.fromJson(Map json) => ChatRoom( id: json['id'], - type: json['type'] == 'ادمین' - ? 'پشتیبانی اپلیکیشن' - : 'سردبیر رادار' + json['type'], + type: json['type'], updatedAt: json['updatedAt'], unread: json['unread'], lastMessage: LastMessage.fromJson(json['lastMessage']),