Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
updated dmca text
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Apr 25, 2017
1 parent 3b694c9 commit ae8525e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions server/src/pages/shot/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ exports.app = app;
app.get("/:id/:domain", csrf({cookie: true}), function(req, res) {
let shotId = `${req.params.id}/${req.params.domain}`;
Shot.get(req.backend, shotId).then((shot) => {
let noSuchShot = false;
if (!shot) {
noSuchShot = true;
} else if (shot.clipNames().length === 0 && !shot.deleted) {
let noSuchShot = !shot;
const nonOwnerAndBlocked = shot && shot.blockType !== 'none' && req.deviceId != shot.ownerId;
if (shot.clipNames().length === 0 && !shot.deleted) {
// Deleted shots always appear to have no clips
}
if (noSuchShot) {
if (noSuchShot || nonOwnerAndBlocked) {
notFound(req, res);
return;
}
Expand Down
4 changes: 2 additions & 2 deletions server/src/pages/shot/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ class Body extends React.Component {
let message = null;
let moreInfo = null;
if (this.props.blockType === 'dmca') {
message = "This shot is no longer available due to an intellectual property claim.";
if (this.props.isOwner) {
message = "This shot is no longer available due to an intellectual property claim.";
moreInfo = (
<span>
Please email <a href="mailto:dmcanotice@mozilla.com">dmcanotice@mozilla.com</a> to request further information.<br/>
Please email <a href="mailto:dmcanotice@mozilla.com">dmcanotice@mozilla.com</a> to request further information. If your Shots are subject to multiple claims, we may revoke your access to Firefox Screenshots.<br/>
Please include the URL of this shot in your email: {this.props.backend}/{this.props.id}
</span>
);
Expand Down

0 comments on commit ae8525e

Please sign in to comment.