Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Commit

Permalink
hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jk authored and jk committed Nov 10, 2020
1 parent 57ab603 commit 1caac3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"homepage": "https://gitlab.rumblefishdev.com/holmes/zbay",
"@comment version": "To build new version for specific platform, just replace platform in version tag to one of following linux, mac, windows",
"version": "2.2.0-zbay-lite",
"version": "2.2.1-zbay-lite",
"description": "Distributed goods and bulletin board",
"main": "dist/main.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/store/handlers/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ const setUsersMessages = (address, messages: DisplayableMessage[]) => async (
return new DisplayableMessage(message);
})
);
const itemMessages = messagesAll.filter((msg) => msg.message.itemId);
const itemMessages = messagesAll.filter((msg) => msg.message ? msg.message.itemId : null);
const contacts = contactsSelectors.contacts(getState());
const groupedItemMesssages = R.groupBy<DisplayableMessage>(
(msg) => msg.message.itemId + msg.sender.username
Expand Down Expand Up @@ -639,7 +639,7 @@ const setUsersMessages = (address, messages: DisplayableMessage[]) => async (
);
}
}
const normalMessages = messagesAll.filter((msg) => !msg.message.itemId);
const normalMessages = messagesAll.filter((msg) => msg.message ? !msg.message.itemId : null);
const groupedMesssages = R.groupBy<DisplayableMessage>(
(msg) => msg.publicKey
)(normalMessages);
Expand Down

0 comments on commit 1caac3c

Please sign in to comment.