1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Make attachments uploadable to a thread (#7064)

This commit is contained in:
Germain
2021-11-03 08:43:24 +00:00
committed by GitHub
parent 4b66d4a891
commit 801eb068d6
8 changed files with 66 additions and 16 deletions

View File

@@ -14,11 +14,13 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { IEventRelation } from "matrix-js-sdk/src";
import { IAbortablePromise } from "matrix-js-sdk/src/@types/partials";
export interface IUpload {
fileName: string;
roomId: string;
relation?: IEventRelation;
total: number;
loaded: number;
promise: IAbortablePromise<any>;