Show all messages in BuddyPress message loop instead of having pagination.

I've taken the private message loop found here https://codex.buddypress.org/developer/loops-reference/the-private-messages-loop-bp_has_message_threads/ and added it to a new page template to recreate the message loop. It's all working fine aside from the pagination. I would like for all of the user's messages to be displayed on one page, instead of showing, for example "Viewing 1-10 of 15 messages". I would like all 15 messages to just show on the page. How can this be tackled?

Thanks in advance for any help!