mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-06 11:23:58 +02:00
Ensure old snaps don't accidentally get shared for_url
This commit is contained in:
parent
b552566bf8
commit
fd92afff8c
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ function addImage(image_data, isLoggedIn, canShare, isGifLoading, isShowingPrevi
|
||||||
if (!isGifLoading) {
|
if (!isGifLoading) {
|
||||||
appendShareBar(id, isLoggedIn, canShare, isGif, blastButtonDisabled, hifiButtonDisabled, canBlast);
|
appendShareBar(id, isLoggedIn, canShare, isGif, blastButtonDisabled, hifiButtonDisabled, canBlast);
|
||||||
}
|
}
|
||||||
if (!isGifLoading || (isShowingPreviousImages && !image_data.story_id)) {
|
if ((!isGifLoading && !isShowingPreviousImages) || (isShowingPreviousImages && !image_data.story_id)) {
|
||||||
shareForUrl(id);
|
shareForUrl(id);
|
||||||
}
|
}
|
||||||
if (isShowingPreviousImages && isLoggedIn && image_data.story_id) {
|
if (isShowingPreviousImages && isLoggedIn && image_data.story_id) {
|
||||||
|
|
Loading…
Reference in a new issue