rewrite chat

This commit is contained in:
Peter Maquiran
2022-01-10 23:52:33 +01:00
parent 3e4067e851
commit 7a6b2a57ea
8 changed files with 69 additions and 54 deletions
+22 -3
View File
@@ -1,9 +1,28 @@
import { Injectable } from '@angular/core';
import { Injectable } from '@angular/core'
import { RocketChatClientService } from 'src/app/services/socket/rocket-chat-client.service';
import { MessageService } from 'src/app/services/chat/message.service'
import { ChatUserService } from 'src/app/services/chat/chat-user.service'
@Injectable({
providedIn: 'root'
})
export class RoomService {
constructor() { }
massages: MessageService[] = []
chatUser: ChatUserService[] = []
id = []
constructor(
private RocketChatClientService: RocketChatClientService,
private MessageService: MessageService
) {}
setData({id}){
this.id= id
}
create() {}
sendMessage() {}
deleteMessage() {}
ReactToMessage() {}
}