diff --git a/assets/icons/chat/aac.svg b/assets/icons/chat/aac.svg
new file mode 100644
index 0000000..61d50bb
--- /dev/null
+++ b/assets/icons/chat/aac.svg
@@ -0,0 +1,54 @@
+
+
+
diff --git a/assets/icons/chat/mp3.svg b/assets/icons/chat/mp3.svg
new file mode 100644
index 0000000..ed8e31e
--- /dev/null
+++ b/assets/icons/chat/mp3.svg
@@ -0,0 +1,57 @@
+
+
+
diff --git a/lib/api/chat/chat_api_client.dart b/lib/api/chat/chat_api_client.dart
index 2f08f2f..46dcce7 100644
--- a/lib/api/chat/chat_api_client.dart
+++ b/lib/api/chat/chat_api_client.dart
@@ -96,6 +96,7 @@ class ChatApiClient {
}
return response;
} catch (e) {
+ getSingleUserChatHistory(senderUID: senderUID, receiverUID: receiverUID, loadMore: loadMore, paginationVal: paginationVal);
throw e;
}
}
@@ -119,7 +120,6 @@ class ChatApiClient {
if (!kReleaseMode) {
logger.i("res: " + response.body);
}
-
fav.FavoriteChatUser favoriteChatUser = fav.FavoriteChatUser.fromRawJson(response.body);
return favoriteChatUser;
} catch (e) {
@@ -128,29 +128,28 @@ class ChatApiClient {
}
}
- Future uploadMedia(String userId, File file) async {
+ Future