Skip to content

No nulls#17

Merged
soapdog merged 2 commits intomasterfrom
no-nulls
Feb 19, 2020
Merged

No nulls#17
soapdog merged 2 commits intomasterfrom
no-nulls

Conversation

@christianbundy
Copy link
Contributor

Problem: When an HTTP(S) link is present in the text, SSB-Mentions seems
to be adding null as a mention, which is causing bugs downstream.

Solution: Never add null to the mentions array and add a test to
ensure that this never happens.

Includes #16
Should resolve ssbc/patchwork#1248

Problem: Travis was set up using ancient versions of Node that don't
work anymore, so the tests were constantly failing.

Solution: Use the latest Node.js version by default.
Problem: When an HTTP(S) link is present in the text, SSB-Mentions seems
to be adding `null` as a mention, which is causing bugs downstream.

Solution: Never add `null` to the mentions array and add a test to
ensure that this never happens.
Copy link
Contributor

@soapdog soapdog left a comment

Choose a reason for hiding this comment

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

looks good to me.

@soapdog soapdog merged commit 48ba0d7 into master Feb 19, 2020
@christianbundy
Copy link
Contributor Author

Thank you!

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.

Publish and Preview button hangs at Publishing when url exists in message

2 participants