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

Commit

Permalink
Merge pull request #4483 from withspectrum/shorter-time-to-timestamp
Browse files Browse the repository at this point in the history
Shorter time to timestamp while grouping messages
  • Loading branch information
brianlovin authored Dec 16, 2018
2 parents bb50931 + baac1db commit fe09086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/clients/group-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const sortAndGroupMessages = (messages: Array<Output>) => {
*/
const c = new Date(current.timestamp).getTime();
const p = new Date(previous.timestamp).getTime();
return c > p + 21600000;
return c > p + 3600000; // one hour;
};

// if we are evaulating a bubble from the same user
Expand Down
2 changes: 1 addition & 1 deletion src/views/dashboard/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const CommunityListItem = styled.div`
grid-auto-rows: 48px auto;
grid-template-areas: 'icon title' 'menu menu';
min-height: 48px;
padding: 8px;
padding: 8px 16px;
justify-items: start;
align-items: center;
cursor: pointer;
Expand Down

0 comments on commit fe09086

Please sign in to comment.