mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Removed "unsubscribed" events from member activity feed
refs 63f7f9a827
closes https://github.com/TryGhost/Team/issues/446
- email failures no longer auto-unsubscribe members so we shouldn't show that in the activity feed
This commit is contained in:
parent
4cfdd9f885
commit
17a69850a2
@ -18,11 +18,6 @@ class MemberActivity {
|
|||||||
icon: 'cross-circle',
|
icon: 'cross-circle',
|
||||||
iconClass: 'red-d2',
|
iconClass: 'red-d2',
|
||||||
tooltip: 'Email delivery failed'
|
tooltip: 'Email delivery failed'
|
||||||
},
|
|
||||||
unsubscribed: {
|
|
||||||
icon: 'unsubscribed',
|
|
||||||
iconClass: 'red-d2',
|
|
||||||
message: 'Automatically unsubscribed due to permanent delivery failure'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,11 +68,6 @@ export default class MemberActivityFeedComponent extends Component {
|
|||||||
timestamp: emailRecipient.failedAtUTC,
|
timestamp: emailRecipient.failedAtUTC,
|
||||||
action: this.openEmailPreview.bind(this, emailRecipient.email)
|
action: this.openEmailPreview.bind(this, emailRecipient.email)
|
||||||
}));
|
}));
|
||||||
|
|
||||||
activities.push(new MemberActivity({
|
|
||||||
event: 'unsubscribed',
|
|
||||||
timestamp: emailRecipient.failedAtUTC.add(1, 'second')
|
|
||||||
}));
|
|
||||||
} else if (emailRecipient.processedAtUTC) {
|
} else if (emailRecipient.processedAtUTC) {
|
||||||
activities.push(new MemberActivity({
|
activities.push(new MemberActivity({
|
||||||
event: 'sent',
|
event: 'sent',
|
||||||
|
Loading…
Reference in New Issue
Block a user