Skip to content
Snippets Groups Projects
Commit ecfa1c3f authored by MitarashiDango's avatar MitarashiDango Committed by Eugen Rochko
Browse files

fix error (When part of conversation has already been deleted.) (#5216)

parent b3af3f9f
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ export function updateTimeline(timeline, status) {
if (status.in_reply_to_id) {
let parent = getState().getIn(['statuses', status.in_reply_to_id]);
while (parent.get('in_reply_to_id')) {
while (parent && parent.get('in_reply_to_id')) {
parents.push(parent.get('id'));
parent = getState().getIn(['statuses', parent.get('in_reply_to_id')]);
}
......
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