mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
add send message to chat
This commit is contained in:
@@ -143,6 +143,8 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
this.roomData$ = this.roomRepositoryService.getItemByIdLive(this.roomId)
|
||||
this.roomMessage$ = this.messageRepositoryService.getItemsLive(this.roomId)
|
||||
|
||||
this.messageRepositoryService.listAllMessagesByRoomId(this.roomId)
|
||||
}
|
||||
|
||||
sendTyping() {}
|
||||
@@ -408,7 +410,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
const data: MessageInputDTO = {
|
||||
roomId: this.roomId,
|
||||
senderId: SessionStore.user.UserId,
|
||||
message: "hello",
|
||||
message: this.textField,
|
||||
messageType: 0,
|
||||
canEdit: false,
|
||||
oneShot:false,
|
||||
|
||||
Reference in New Issue
Block a user