aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 3954df00..eb0af098 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -139,7 +139,10 @@ const Status = {
return this.generateUserProfileLink(this.status.user.id, this.status.user.screen_name)
},
replyProfileLink () {
- return this.$store.getters.findUser(this.status.in_reply_to_user_id).statusnet_profile_url
+ if (this.isReply) {
+ const user = this.$store.getters.findUser(this.status.in_reply_to_user_id)
+ return user && user.statusnet_profile_url
+ }
},
retweet () { return !!this.statusoid.retweeted_status },
retweeterUser () { return this.statusoid.user },