Skip to content

Commit

Permalink
refactor: remove duplicate interface
Browse files Browse the repository at this point in the history
  • Loading branch information
domw30 committed Aug 21, 2024
1 parent ddead1e commit de7a708
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/chat/matrix-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,10 @@ import { encryptFile, getImageDimensions } from './matrix/media';
import { uploadAttachment } from '../../store/messages/api';
import { featureFlags } from '../feature-flags';
import { logger } from 'matrix-js-sdk/lib/logger';
import { PostsResponse } from '../../store/posts';

export const USER_TYPING_TIMEOUT = 5000; // 5s

export interface PostsResponse {
hasMore: boolean;
postMessages: Message[];
}

export class MatrixClient implements IChatClient {
private matrix: SDKMatrixClient = null;
private events: RealtimeChatEvents = null;
Expand Down

0 comments on commit de7a708

Please sign in to comment.