Skip to content
Snippets Groups Projects
Commit fe624f61 authored by HJ's avatar HJ :fire:
Browse files

fix reply-to marker, also whoops console log

parent 690c1dcd
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!655Transition to MastoAPI: user data
......@@ -145,11 +145,11 @@ const Status = {
return !!(this.status.in_reply_to_status_id && this.status.in_reply_to_user_id)
},
replyToName () {
const user = this.$store.state.users.usersObject[this.status.in_reply_to_user_id]
if (user) {
return user.screen_name
} else {
const user = this.$store.getters.findUser(this.status.in_reply_to_user_id)
if (this.status.in_reply_to_screen_name) {
return this.status.in_reply_to_screen_name
} else {
return user.screen_name
}
},
hideReply () {
......
......@@ -135,7 +135,6 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us
// This makes sure that user timeline won't get data meant for other
// user. I.e. opening different user profiles makes request which could
// return data late after user already viewing different user profile
console.log('TIMEINLINE', timelineObject.userId)
if ((timeline === 'user' || timeline === 'media') && timelineObject.userId !== userId) {
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment