open feed after logging in

This commit is contained in:
Dante Ruiz 2017-04-10 22:33:07 +01:00
parent df6498c67c
commit 382204a9a9

View file

@ -255,7 +255,9 @@ function onConnected() {
print('sharing', snapshotToShareAfterLogin.path);
Window.shareSnapshot(snapshotToShareAfterLogin.path, snapshotToShareAfterLogin.href);
shareAfterLogin = false;
showFeedWindow();
if (shouldOpenFeedAfterShare()) {
showFeedWindow();
}
}
}