receive user typing

This commit is contained in:
Peter Maquiran
2024-07-17 16:39:18 +01:00
parent 0312df88e8
commit cf6fe3a4c8
17 changed files with 424 additions and 33 deletions
@@ -50,6 +50,9 @@ export class MessageRepositoryService {
if(localActionResult.isOk()) {
(await this.sendTyping(data.roomId)).map((e) => {
console.log('map', e)
})
const sendMessageResult = await this.messageLiveSignalRDataSourceService.sendMessage(data)
@@ -101,4 +104,8 @@ export class MessageRepositoryService {
subscribeToNewMessages(roomId: any) {
return this.messageLocalDataSourceService.subscribeToNewMessage(roomId)
}
sendTyping(ChatRoomId) {
return this.messageLiveSignalRDataSourceService.sendTyping({ChatRoomId, UserName:SessionStore.user.FullName})
}
}