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:
Matthew Noorenberghe 2014-12-19 14:07:15 -05:00
Родитель e24b628c0b
Коммит ad45cbdd11
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -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,
});