Unverified Commit b9d0d209 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix reducer error when conversation has no last status in web UI (#9173)

Fix #9170
parent ce2ee68b
Showing with 1 addition and 1 deletion
+1 -1
......@@ -21,7 +21,7 @@ const conversationToMap = item => ImmutableMap({
id: item.id,
unread: item.unread,
accounts: ImmutableList(item.accounts.map(a => a.id)),
last_status: item.last_status.id,
last_status: item.last_status ? item.last_status.id : null,
});
const updateConversation = (state, item) => state.update('items', list => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment