forked from Ivasoft/mattermost-mobile
Compare commits
1 Commits
build-461
...
MM-47428_t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
447f266cfd |
@@ -59,7 +59,7 @@ function combineUserActivityPosts(orderedPosts: Array<PostModel | string>) {
|
|||||||
const post = orderedPosts[i];
|
const post = orderedPosts[i];
|
||||||
|
|
||||||
if (typeof post === 'string') {
|
if (typeof post === 'string') {
|
||||||
if (post === START_OF_NEW_MESSAGES || post.startsWith(DATE_LINE)) {
|
if (isStartOfNewMessages(post) || isDateLine(post) || isThreadOverview(post)) {
|
||||||
// Not a post, so it won't be combined
|
// Not a post, so it won't be combined
|
||||||
out.push(post);
|
out.push(post);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user