openvidu-testapp: remove unused properties of TestFeedService#pushNewEvent

pull/660/head
pabloFuente 2021-10-21 13:54:16 +02:00
parent 2da34db57e
commit be7609b0c6
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ export class OpenviduInstanceComponent implements OnInit, OnChanges, OnDestroy {
updateEventList(eventName: string, eventContent: string, event: Event) { updateEventList(eventName: string, eventContent: string, event: Event) {
const eventInterface: OpenViduEvent = { eventName, eventContent, event }; const eventInterface: OpenViduEvent = { eventName, eventContent, event };
this.events.push(eventInterface); this.events.push(eventInterface);
this.testFeedService.pushNewEvent(this.sessionName, this.session.connection.connectionId, event); this.testFeedService.pushNewEvent(event);
} }
toggleSubscribeTo(): void { toggleSubscribeTo(): void {

View File

@ -15,7 +15,7 @@ export class TestFeedService {
return this.lastEvent; return this.lastEvent;
} }
pushNewEvent(session: string, connection: string, event: Event) { pushNewEvent(event: Event) {
this.lastEvent = event; this.lastEvent = event;
this.newLastEvent$.next(this.lastEvent); this.newLastEvent$.next(this.lastEvent);
} }