mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp: remove unused properties of TestFeedService#pushNewEvent
parent
2da34db57e
commit
be7609b0c6
|
@ -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 {
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue