Eliminate the use of MatrixClientPeg in utils (#10910)
This commit is contained in:
+12
-9
@@ -436,15 +436,18 @@ export default class ContentMessages {
|
||||
}
|
||||
}
|
||||
|
||||
promBefore = doMaybeLocalRoomAction(roomId, (actualRoomId) =>
|
||||
this.sendContentToRoom(
|
||||
file,
|
||||
actualRoomId,
|
||||
relation,
|
||||
matrixClient,
|
||||
replyToEvent ?? undefined,
|
||||
loopPromiseBefore,
|
||||
),
|
||||
promBefore = doMaybeLocalRoomAction(
|
||||
roomId,
|
||||
(actualRoomId) =>
|
||||
this.sendContentToRoom(
|
||||
file,
|
||||
actualRoomId,
|
||||
relation,
|
||||
matrixClient,
|
||||
replyToEvent ?? undefined,
|
||||
loopPromiseBefore,
|
||||
),
|
||||
matrixClient,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user