diff --git a/android/Omnivore/app/release/app-release.aab b/android/Omnivore/app/release/app-release.aab new file mode 100644 index 000000000..5b1801f5b Binary files /dev/null and b/android/Omnivore/app/release/app-release.aab differ diff --git a/packages/content-handler/src/websites/twitter-handler.ts b/packages/content-handler/src/websites/twitter-handler.ts index c196ec987..6075123b9 100644 --- a/packages/content-handler/src/websites/twitter-handler.ts +++ b/packages/content-handler/src/websites/twitter-handler.ts @@ -134,8 +134,8 @@ const getTweetsByIds = async (ids: string[]): Promise => { return response.data } -const titleForAuthor = (author: { name: string }) => { - return `${author.name} on Twitter` +const titleForTweet = (author: { name: string }, text: string) => { + return `${author.name} on Twitter: ${text.replace(/http\S+/, '')}` } const tweetIdFromStatusUrl = (url: string): string | undefined => { @@ -319,7 +319,7 @@ export class TwitterHandler extends ContentHandler { const authorId = tweetData.author_id const author = tweet.includes.users.filter((u) => (u.id = authorId))[0] // escape html entities in title - const title = titleForAuthor(author) + const title = titleForTweet(author, tweetData.text) const escapedTitle = _.escape(title) const authorImage = author.profile_image_url.replace('_normal', '_400x400') const description = _.escape(tweetData.text)