chore: Remove unused callbacks
Forgot to remove them in the last PR.
This commit is contained in:
parent
47329df6af
commit
8439e2b11e
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue