This commit is contained in:
richard-loafle 2020-02-05 16:19:40 +09:00
commit 9605304278

View File

@ -1636,7 +1636,10 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
if (userSeqs.length > 0) { if (userSeqs.length > 0) {
// include me // include me
userSeqs.push(this.loginResSubject.value.userSeq); const myUserSeq = this.loginResSubject.value.userSeq;
if (!!myUserSeq && userSeqs.indexOf(myUserSeq) < 0) {
userSeqs.push(myUserSeq);
}
this.store.dispatch( this.store.dispatch(
RoomStore.inviteOrOpen({ RoomStore.inviteOrOpen({