@massalabs/gossip-sdk 0.0.2-dev.20260303135040 → 0.0.2-dev.20260303161452
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/dist/services/message.js +1 -1
- package/package.json +1 -1
package/dist/services/message.js
CHANGED
|
@@ -261,7 +261,7 @@ export class MessageService {
|
|
|
261
261
|
whenToSend: message.whenToSend,
|
|
262
262
|
});
|
|
263
263
|
const discussion = await this.queries.discussions.getByOwnerAndContact(message.ownerUserId, message.contactUserId);
|
|
264
|
-
if (discussion) {
|
|
264
|
+
if (discussion && message.type !== MessageType.KEEP_ALIVE) {
|
|
265
265
|
await this.queries.discussions.updateById(discussion.id, {
|
|
266
266
|
lastMessageId: messageId,
|
|
267
267
|
lastMessageContent: message.content,
|
package/package.json
CHANGED