Merge pull request #10720 from seefo/fb5386

Fixed a bug where you could not print polaroids if you took a gif
This commit is contained in:
Stephen Birarda 2017-06-16 15:03:45 -07:00 committed by GitHub
commit 39e8510ccb

View file

@ -144,7 +144,9 @@ function onMessage(message) {
isDomainOpen(Settings.getValue("previousSnapshotDomainID"), function (canShare) {
var isGif = fileExtensionMatches(message.data, "gif");
isLoggedIn = Account.isLoggedIn();
isUploadingPrintableStill = canShare && Account.isLoggedIn() && !isGif;
if (!isGif) {
isUploadingPrintableStill = canShare && Account.isLoggedIn();
}
if (canShare) {
if (isLoggedIn) {
print('Sharing snapshot with audience "for_url":', message.data);