MOBILE-2734 messages: Fix navigation to conversation from contacts

main
Albert Gasset 2018-12-13 10:05:47 +01:00
parent f6145bfac6
commit d40a942e78
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ export class AddonMessagesContactsPage implements OnDestroy {
selectUser(tab: string, userId?: number, onInit: boolean = false): void {
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.
return;
}