import { Injectable } from '@angular/core' ; import { Client , client } from '@xmpp/client' ; import { LogInRequest } from '../../../core/log-in-request' ; @ Injectable ( ) export class XmppClientFactoryService { client ( logInRequest ) { return client ( logInRequest ) ; } }