bugfix
This commit is contained in:
parent
bb95a4621d
commit
1f83038abc
|
@ -1,4 +1,4 @@
|
|||
import { Component, OnInit, Inject, Renderer2 } from '@angular/core';
|
||||
import { Component, OnInit, Inject, Renderer2, OnDestroy } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { KEY_LOGIN_RES_INFO, KEY_VER_INFO } from '@app/types';
|
||||
import {
|
||||
|
|
|
@ -80,7 +80,6 @@ export class AppAuthenticationService {
|
|||
}
|
||||
};
|
||||
}
|
||||
console.log(appUserInfo);
|
||||
|
||||
appUserInfo = {
|
||||
...appUserInfo,
|
||||
|
|
|
@ -183,13 +183,14 @@ export class MessagesComponent implements OnInit, OnDestroy {
|
|||
) {
|
||||
this.baseEventSeq = 0;
|
||||
this.showMore = false;
|
||||
this.initRoomLastEventSeq = undefined;
|
||||
}
|
||||
|
||||
this.roomInfo = roomInfo;
|
||||
|
||||
/** [S] initializing by changed room */
|
||||
// reset :: roomLastEventSeq
|
||||
if (!!roomInfo && !!roomInfo.finalEventSeq) {
|
||||
if (!!roomInfo) {
|
||||
this.initRoomLastEventSeq = roomInfo.finalEventSeq;
|
||||
}
|
||||
// clear :: readToHearEvent object
|
||||
|
|
Loading…
Reference in New Issue
Block a user