зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1113739 - Make sure loop.gettingStarted.resumeOnFirstJoin is true before resuming the Hello tour. r=dolske
--HG-- extra : rebase_source : 7faa57772aa4d1d792b8a23abc14d9712598d715
This commit is contained in:
Родитель
e24b628c0b
Коммит
ad45cbdd11
|
@ -1105,6 +1105,10 @@ this.MozLoopService = {
|
|||
let isOwnerInRoom = false;
|
||||
let isOtherInRoom = false;
|
||||
|
||||
if (!this.getLoopPref("gettingStarted.resumeOnFirstJoin")) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!room.participants) {
|
||||
return;
|
||||
}
|
||||
|
@ -1524,6 +1528,10 @@ this.MozLoopService = {
|
|||
},
|
||||
|
||||
resumeTour: function(aIncomingConversationState) {
|
||||
if (!this.getLoopPref("gettingStarted.resumeOnFirstJoin")) {
|
||||
return;
|
||||
}
|
||||
|
||||
let url = this.getTourURL("resume-with-conversation", {
|
||||
incomingConversation: aIncomingConversationState,
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче