diff --git a/src/backend/matrix_client.py b/src/backend/matrix_client.py index 788f7e7f..240d1a42 100644 --- a/src/backend/matrix_client.py +++ b/src/backend/matrix_client.py @@ -1426,7 +1426,7 @@ class MatrixClient(nio.AsyncClient): filesize = filesize, ) - return UploadReturn(response.content_uri, mime, decryption_dict) + return UploadReturn(response.content_uri, mime, decryption_dict or {}) async def set_avatar_from_file(self, path: Union[Path, str]) -> None: diff --git a/src/gui/PageLoader.qml b/src/gui/PageLoader.qml index e9681dda..0e002207 100644 --- a/src/gui/PageLoader.qml +++ b/src/gui/PageLoader.qml @@ -35,9 +35,11 @@ HLoader { item[prop] = value recycled() + print("r") } else { pageLoader.setSource(componentUrl, properties) window.uiState.page = componentUrl + print("X") } window.uiState.pageProperties = properties