@cometchat/chat-uikit-angular 4.3.32 → 4.3.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/new-message-icon.svg +1 -0
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +7 -3
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +5 -2
- package/fesm2015/cometchat-chat-uikit-angular.mjs +10 -3
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +10 -3
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -1912,7 +1912,7 @@ class CometChatUIKit {
|
|
|
1912
1912
|
if (window) {
|
|
1913
1913
|
window.CometChatUiKit = {
|
|
1914
1914
|
name: "@cometchat/chat-uikit-angular",
|
|
1915
|
-
version: "4.3.
|
|
1915
|
+
version: "4.3.33",
|
|
1916
1916
|
};
|
|
1917
1917
|
}
|
|
1918
1918
|
if (CometChatUIKitSharedSettings) {
|
|
@@ -1934,6 +1934,9 @@ class CometChatUIKit {
|
|
|
1934
1934
|
appSettingsBuilder.setRegion(uiKitSettings.getRegion());
|
|
1935
1935
|
appSettingsBuilder.overrideAdminHost(uiKitSettings.getAdminHost());
|
|
1936
1936
|
appSettingsBuilder.overrideClientHost(uiKitSettings.getClientHost());
|
|
1937
|
+
if (uiKitSettings.getStorageMode()) {
|
|
1938
|
+
appSettingsBuilder.setStorageMode(uiKitSettings.getStorageMode());
|
|
1939
|
+
}
|
|
1937
1940
|
const appSettings = appSettingsBuilder.build();
|
|
1938
1941
|
return new Promise((resolve, reject) => {
|
|
1939
1942
|
CometChat.init(uiKitSettings?.appId, appSettings)
|
|
@@ -10322,7 +10325,9 @@ class CometChatMessageListComponent {
|
|
|
10322
10325
|
});
|
|
10323
10326
|
}
|
|
10324
10327
|
}
|
|
10325
|
-
|
|
10328
|
+
setTimeout(() => {
|
|
10329
|
+
this.scrollToBottom();
|
|
10330
|
+
}, 10);
|
|
10326
10331
|
}
|
|
10327
10332
|
}
|
|
10328
10333
|
catch (error) {
|
|
@@ -12133,7 +12138,9 @@ class CometChatMessageListComponent {
|
|
|
12133
12138
|
unreadMessageCount: this.getUnreadCount,
|
|
12134
12139
|
});
|
|
12135
12140
|
this.chatChanged = false;
|
|
12136
|
-
|
|
12141
|
+
setTimeout(() => {
|
|
12142
|
+
this.scrollToBottom();
|
|
12143
|
+
}, 10);
|
|
12137
12144
|
}
|
|
12138
12145
|
}
|
|
12139
12146
|
catch (error) {
|