Remove Truth Social-specific features

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-04-28 14:50:23 +02:00
parent 5ba66f79ba
commit 0308aec65b
163 changed files with 312 additions and 5471 deletions

View File

@@ -6,7 +6,6 @@ import { queryClient } from 'soapbox/queries/client';
import { updateChatMessage } from './chats';
const chat: IChat = {
accepted: true,
account: buildAccount({
username: 'username',
verified: true,
@@ -16,15 +15,9 @@ const chat: IChat = {
avatar_static: 'avatar',
display_name: 'my name',
}),
chat_type: 'direct',
created_at: '2020-06-10T02:05:06.000Z',
created_by_account: '1',
discarded_at: null,
id: '1',
last_message: null,
latest_read_message_by_account: [],
latest_read_message_created_at: null,
message_expiration: 1209600,
unread: 0,
};
@@ -34,8 +27,6 @@ const buildChatMessage = (id: string) => normalizeChatMessage({
account_id: '1',
content: `chat message #${id}`,
created_at: '2020-06-10T02:05:06.000Z',
emoji_reactions: null,
expiration: 1209600,
unread: true,
});