fix chage duplicate message

This commit is contained in:
peter.maquiran
2025-09-04 15:40:45 +01:00
parent cfc7330e72
commit 430adf394d
54 changed files with 206 additions and 330 deletions
@@ -49,6 +49,8 @@ import { whatsappDate } from 'src/app/ui/shared/utils/whatappdate';
import { IDBoolean } from 'src/app/infra/database/dexie/type';
import { Result } from 'neverthrow';
import { MessageOutPutDataDTO } from 'src/app/core/chat/repository/dto/messageOutputDTO';
import { v4 as uuidv4 } from 'uuid';
@Component({
selector: 'app-messages',
templateUrl: './messages.page.html',
@@ -450,7 +452,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
this.chatServiceService.sendReadAt({
memberId: SessionStore.user.UserId,
messageId: message.id,
requestId: '',
requestId: uuidv4(),
roomId: this.room.id
})
} else {