Merge branch 'rm-rumble-embeds' into 'main'

Remove support for Rumble video embeds

See merge request soapbox-pub/soapbox!2716
This commit is contained in:
Alex Gleason
2023-09-20 20:51:28 +00:00
7 changed files with 17 additions and 159 deletions

View File

@ -198,10 +198,4 @@ describe('normalizeStatus()', () => {
expect(card.type).toEqual('link');
expect(card.provider_url).toEqual('https://soapbox.pub');
});
it('preserves Truth Social external_video_id', () => {
const status = require('soapbox/__fixtures__/truthsocial-status-with-external-video.json');
const result = normalizeStatus(status);
expect(result.media_attachments.get(0)?.external_video_id).toBe('vwfnq9');
});
});

View File

@ -15,7 +15,6 @@ import { mergeDefined } from 'soapbox/utils/normalizers';
export const AttachmentRecord = ImmutableRecord({
blurhash: undefined,
description: '',
external_video_id: null as string | null, // TruthSocial
id: '',
meta: ImmutableMap(),
pleroma: ImmutableMap(),