This commit is contained in:
leejinho 2020-02-18 13:40:21 +09:00
parent bb95a4621d
commit 1f83038abc
3 changed files with 3 additions and 3 deletions

View File

@ -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 { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { KEY_LOGIN_RES_INFO, KEY_VER_INFO } from '@app/types'; import { KEY_LOGIN_RES_INFO, KEY_VER_INFO } from '@app/types';
import { import {

View File

@ -80,7 +80,6 @@ export class AppAuthenticationService {
} }
}; };
} }
console.log(appUserInfo);
appUserInfo = { appUserInfo = {
...appUserInfo, ...appUserInfo,

View File

@ -183,13 +183,14 @@ export class MessagesComponent implements OnInit, OnDestroy {
) { ) {
this.baseEventSeq = 0; this.baseEventSeq = 0;
this.showMore = false; this.showMore = false;
this.initRoomLastEventSeq = undefined;
} }
this.roomInfo = roomInfo; this.roomInfo = roomInfo;
/** [S] initializing by changed room */ /** [S] initializing by changed room */
// reset :: roomLastEventSeq // reset :: roomLastEventSeq
if (!!roomInfo && !!roomInfo.finalEventSeq) { if (!!roomInfo) {
this.initRoomLastEventSeq = roomInfo.finalEventSeq; this.initRoomLastEventSeq = roomInfo.finalEventSeq;
} }
// clear :: readToHearEvent object // clear :: readToHearEvent object