Wire up drag-drop file uploads for the thread view (#7860)

This commit is contained in:
Michael Telatynski 2022-02-22 11:14:56 +00:00 committed by GitHub
parent 42e9ea4540
commit 8fccef86d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 616 additions and 482 deletions

View file

@ -447,7 +447,7 @@ export default class ContentMessages {
public async sendContentListToRoom(
files: File[],
roomId: string,
relation: IEventRelation | null,
relation: IEventRelation | undefined,
matrixClient: MatrixClient,
context = TimelineRenderingType.Room,
): Promise<void> {
@ -566,7 +566,7 @@ export default class ContentMessages {
private sendContentToRoom(
file: File,
roomId: string,
relation: IEventRelation,
relation: IEventRelation | undefined,
matrixClient: MatrixClient,
promBefore: Promise<any>,
) {