mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix chat
This commit is contained in:
+1
-3
@@ -105,9 +105,7 @@ export class MessageSocketRepositoryService implements IMessageSocketRepository
|
||||
|
||||
listenToMessages() {
|
||||
return this.socket.getData().pipe(
|
||||
filter((e) : e is SocketMessage<MessageOutPutDataDTO>=> e?.method == 'ReceiveMessage'
|
||||
),
|
||||
map((e)=> e.data)
|
||||
filter((e) : e is SocketMessage<MessageOutPutDataDTO>=> e?.method == 'ReceiveMessage')
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user