chore: Remove unused callbacks

Forgot to remove them in the last PR.
This commit is contained in:
Christian Kußowski 2025-10-01 08:00:31 +02:00
parent 47329df6af
commit 8439e2b11e
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652
1 changed files with 1 additions and 9 deletions

View File

@ -838,11 +838,6 @@ class Room {
Map<String, dynamic>? extraContent, Map<String, dynamic>? extraContent,
String? threadRootEventId, String? threadRootEventId,
String? threadLastEventId, String? threadLastEventId,
/// Callback which gets triggered on progress containing the amount of
/// uploaded bytes.
void Function(int)? onUploadProgress,
void Function(int)? onThumbnailUploadProgress,
}) async { }) async {
txid ??= client.generateUniqueTransactionId(); txid ??= client.generateUniqueTransactionId();
sendingFilePlaceholders[txid] = file; sendingFilePlaceholders[txid] = file;
@ -2109,10 +2104,7 @@ class Room {
/// Uploads a new avatar for this room. Returns the event ID of the new /// Uploads a new avatar for this room. Returns the event ID of the new
/// m.room.avatar event. Insert null to remove the current avatar. /// m.room.avatar event. Insert null to remove the current avatar.
Future<String> setAvatar( Future<String> setAvatar(MatrixFile? file) async {
MatrixFile? file, {
void Function(int)? onUploadProgress,
}) async {
final uploadResp = file == null final uploadResp = file == null
? null ? null
: await client.uploadContent( : await client.uploadContent(