Commit 9283a783 authored by Mark Harding's avatar Mark Harding

(fix): record channel view if passed through via this.user

parent 28b1e2b3
No related merge requests found
Pipeline #117535644 running with stages
......@@ -70,6 +70,9 @@ export class ChannelComponent {
ngOnInit() {
this.updateMeta();
if (this.user) {
this.clientMetaService.recordView(this.user);
}
this.context.set('activity');
this.onScroll();
......@@ -171,6 +174,7 @@ export class ChannelComponent {
this.addRecent();
}
// this.load() is only called if this.user was not previously set
this.clientMetaService.recordView(this.user);
})
.catch(e => {
......
Please register or to comment