From cb47079d239b0a4bcd0346d43cccbebfc9e5a285 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 4 Sep 2020 07:59:50 +0200 Subject: csapi/profile.h: require displayname/avatar_url See https://github.com/matrix-org/matrix-doc/issues/2717 --- lib/csapi/profile.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/csapi') diff --git a/lib/csapi/profile.h b/lib/csapi/profile.h index 88bf3166..3858fab2 100644 --- a/lib/csapi/profile.h +++ b/lib/csapi/profile.h @@ -24,7 +24,7 @@ public: * The new display name for this user. */ explicit SetDisplayNameJob(const QString& userId, - const QString& displayname = {}); + const QString& displayname); }; /*! \brief Get the user's display name. @@ -73,8 +73,7 @@ public: * \param avatarUrl * The new avatar URL for this user. */ - explicit SetAvatarUrlJob(const QString& userId, - const QString& avatarUrl = {}); + explicit SetAvatarUrlJob(const QString& userId, const QString& avatarUrl); }; /*! \brief Get the user's avatar URL. -- cgit v1.2.3