MOBILE-2734 messages: Fix navigation to conversation from contacts
parent
f6145bfac6
commit
d40a942e78
|
@ -93,7 +93,7 @@ export class AddonMessagesContactsPage implements OnDestroy {
|
||||||
selectUser(tab: string, userId?: number, onInit: boolean = false): void {
|
selectUser(tab: string, userId?: number, onInit: boolean = false): void {
|
||||||
userId = userId || this.selectedUserId[tab];
|
userId = userId || this.selectedUserId[tab];
|
||||||
|
|
||||||
if (!userId || userId == this.conversationUserId) {
|
if (!userId || userId == this.conversationUserId && this.splitviewCtrl.isOn()) {
|
||||||
// No user conversation to open or it is already opened.
|
// No user conversation to open or it is already opened.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue