send direct message

This commit is contained in:
Peter Maquiran
2024-08-20 16:34:47 +01:00
parent 4fb24f7875
commit 59fc19879f
41 changed files with 912 additions and 308 deletions
+1 -3
View File
@@ -157,7 +157,7 @@ export class SignalRConnection {
const requestId = uuidv4()
if(this.connectionStateSubject.value == true) {
console.log('send typing', data)
// console.log('send typing', data)
try {
this.hubConnection.invoke("Typing", data)
@@ -276,7 +276,6 @@ export class SignalRConnection {
});
this.hubConnection.on('TypingMessage', (_typing: UserTypingDTO) => {
console.log('Typing', _typing)
this.typingSubject.next(_typing);
this.sendDataSubject.next({
method: 'ReceiveMessage',
@@ -285,7 +284,6 @@ export class SignalRConnection {
});
this.hubConnection.on('AvailableUsers', (data: any) => {
console.log('AvailableUsers', data)
this.typingSubject.next(data);
this.sendDataSubject.next({
method: 'AvailableUsers',