@ai-matrx/messaging 0.13.0 → 0.13.1
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/CHANGELOG.md +17 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +3 -3
package/dist/react.js
CHANGED
|
@@ -1286,12 +1286,12 @@ function createMessagingEngine(options) {
|
|
|
1286
1286
|
},
|
|
1287
1287
|
async openConversation(id) {
|
|
1288
1288
|
store.setActiveConversation(id);
|
|
1289
|
-
store.setConversationReadFailure(id, null);
|
|
1290
1289
|
try {
|
|
1291
1290
|
const page = await repository.listMessages(id, { limit: messagePageSize });
|
|
1292
1291
|
if (page.items.length === 0) {
|
|
1293
1292
|
await repository.getConversation(id);
|
|
1294
1293
|
}
|
|
1294
|
+
store.setConversationReadFailure(id, null);
|
|
1295
1295
|
store.setThread(id, page.items, { hasMoreOlder: page.hasMore });
|
|
1296
1296
|
} catch (error) {
|
|
1297
1297
|
const normalized = normalizeMessagingError(error, "openConversation");
|