diff --git a/app/internal_packages/send-reminders/lib/send-reminders-thread-timestamp.tsx b/app/internal_packages/send-reminders/lib/send-reminders-thread-timestamp.tsx index 3012d48b2..b22632f4f 100644 --- a/app/internal_packages/send-reminders/lib/send-reminders-thread-timestamp.tsx +++ b/app/internal_packages/send-reminders/lib/send-reminders-thread-timestamp.tsx @@ -34,12 +34,12 @@ class SendRemindersThreadTimestamp extends Component; } - const { expiration } = this.props.thread.metadataForPluginId(PLUGIN_ID); - if (!expiration) { + const metadata = this.props.thread.metadataForPluginId(PLUGIN_ID); + if (!metadata || !metadata.expiration) { return ; } - const mExpiration = moment(expiration); + const mExpiration = moment(metadata.expiration); return (