Make sure "this" is available

This commit is contained in:
N-Pex 2023-06-07 10:01:55 +02:00
parent 1f00c6f311
commit d2966ade6a

View file

@ -496,7 +496,7 @@ export default {
this.$matrix.matrixClient,
room_id,
this.roomAvatarFile,
function (p) {
(p) => {
if (p.total) {
self.status = this.$t("new_room.status_avatar_total", {
count: p.loaded || 0,