Skip to content

Conversation

@gabriellsh
Copy link
Member

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Create one thread with ~1000 responses (without checking the "Also send to channel" box).
The user preference "Show thread messages on main thread" must be off.

Further comments

@gabriellsh gabriellsh changed the title fix: Too many request on loadHistory method [FIX] Too many request on loadHistory method Apr 15, 2021
@gabriellsh gabriellsh marked this pull request as draft April 15, 2021 21:09
@gabriellsh gabriellsh requested a review from a team April 15, 2021 21:09
KevLehman
KevLehman previously approved these changes Apr 19, 2021
@ggazzo ggazzo marked this pull request as ready for review April 22, 2021 19:46
@ggazzo ggazzo requested a review from sampaiodiego April 23, 2021 01:47
typeName = (curRoomDoc ? curRoomDoc.t : undefined) + (curRoomDoc ? curRoomDoc.name : undefined);
}

// const showMessageInMainThread = getUserPreference(Meteor.userId(), 'showMessageInMainThread', false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this still be used?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will, just commented to let you fetch all messages instead.

ggazzo
ggazzo previously approved these changes Apr 23, 2021
@ggazzo ggazzo requested a review from sampaiodiego April 23, 2021 13:50
@lgtm-com
Copy link

lgtm-com bot commented Apr 23, 2021

This pull request introduces 2 alerts when merging 96bac7b into a3656b3 - view on LGTM.com

new alerts:

  • 2 for Assignment to constant

@ggazzo ggazzo merged commit c015258 into develop Apr 26, 2021
@ggazzo ggazzo deleted the fix/tmr branch April 26, 2021 14:16
@sampaiodiego sampaiodiego mentioned this pull request Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants