[twitter] Don't skip URL entity replacement if OEmbed result is unexpected #1079

Merged
MrPetovan merged 1 commit from bug/9895-twitter-oembed into develop 2021-02-10 11:32:49 +01:00
MrPetovan commented 2021-02-08 08:15:16 +01:00 (Migrated from github.com)

Part of https://github.com/friendica/friendica/issues/9895
Related to https://github.com/friendica/friendica/pull/9915

The Twitter addon relied too much on the result of OEmbed to replace URL entities, and as a result would skip some if the OEmbed response was unexpected.

Now it just replaces the URL entity with the expected target link if OEmbed failed for any reason.

Part of https://github.com/friendica/friendica/issues/9895 Related to https://github.com/friendica/friendica/pull/9915 The Twitter addon relied too much on the result of OEmbed to replace URL entities, and as a result would skip some if the OEmbed response was unexpected. Now it just replaces the URL entity with the expected target link if OEmbed failed for any reason.
Sign in to join this conversation.
No description provided.