Skip to content

Fix paginateEventTimeline resolve to boolean#2054

Merged
ajbura merged 3 commits intomatrix-org:developfrom
ajbura:ajbura-fix-paginateEventTimeline
Dec 9, 2021
Merged

Fix paginateEventTimeline resolve to boolean#2054
ajbura merged 3 commits intomatrix-org:developfrom
ajbura:ajbura-fix-paginateEventTimeline

Conversation

@ajbura
Copy link
Copy Markdown
Contributor

@ajbura ajbura commented Dec 9, 2021

Earlier paginateEventTimeline used to resolve to chunk instead of resolving to boolean. Now it resolve to boolean as specified in doc.

Signed-off-by: Ajay Bura [email protected]


Here's what your changelog entry will look like:

🐛 Bug Fixes

  • Fix paginateEventTimeline resolve to boolean (#2054). Contributed by @ajbura.

Earlier paginateEventTimeline used to resolve to  chunk instead of returning boolean. Now it return boolean as specified in doc.
@ajbura ajbura requested a review from a team as a code owner December 9, 2021 09:44
@t3chguy
Copy link
Copy Markdown
Member

t3chguy commented Dec 9, 2021

Can you type L5068-L5070 whilst you're here, these not being implicit any would have caught this bug.

@t3chguy
Copy link
Copy Markdown
Member

t3chguy commented Dec 9, 2021

#2055 types L5068-L5069

Copy link
Copy Markdown
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

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

LGTM other than the ask to fix the type to prevent this issue in the future

@ajbura
Copy link
Copy Markdown
Contributor Author

ajbura commented Dec 9, 2021

Hi, I have tried it but isn't confident that I am doing it correctly. (Complete noob with typescript here :))

@ajbura ajbura merged commit f926a2f into matrix-org:develop Dec 9, 2021
@ajbura ajbura deleted the ajbura-fix-paginateEventTimeline branch December 9, 2021 14:50
su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this pull request Dec 21, 2021
* Improve fallback key behaviour ([\matrix-org#2037](matrix-org#2037)).
* Add new room event filter fields ([\matrix-org#2051](matrix-org#2051)).
* Add method to fetch /account/whoami ([\matrix-org#2046](matrix-org#2046)).
* Filter out falsey opts in /relations API hits ([\matrix-org#2059](matrix-org#2059)). Fixes element-hq/element-web#20137.
* Fix paginateEventTimeline resolve to boolean ([\matrix-org#2054](matrix-org#2054)).
* Fix incorrect MSC3089 typings and add null checks ([\matrix-org#2049](matrix-org#2049)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants