2 files changed, 2 insertions, 2 deletions
diff --git a/include/ChatPage.h b/include/ChatPage.h
index 5cd1c623..c9085848 100644
--- a/include/ChatPage.h
+++ b/include/ChatPage.h
@@ -128,7 +128,7 @@ private:
template<class Collection>
void updateUserMetadata(const std::vector<Collection> &collection);
- void retryInitialSync();
+ void retryInitialSync(int status_code = -1);
//! Update the room with the new notification count.
void updateRoomNotificationCount(const QString &room_id, uint16_t notification_count);
diff --git a/include/MatrixClient.h b/include/MatrixClient.h
index 91e6db28..a433b095 100644
--- a/include/MatrixClient.h
+++ b/include/MatrixClient.h
@@ -147,7 +147,7 @@ signals:
void getOwnProfileResponse(const QUrl &avatar_url, const QString &display_name);
void getOwnCommunitiesResponse(const QList<QString> &own_communities);
void initialSyncCompleted(const mtx::responses::Sync &response);
- void initialSyncFailed();
+ void initialSyncFailed(int status_code = -1);
void syncCompleted(const mtx::responses::Sync &response);
void syncFailed(const QString &msg);
void joinFailed(const QString &msg);
|