0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 19:58:53 +02:00

modules/client/profile: Nothrow for the existing value check on profile update.

This commit is contained in:
Jason Volk 2018-04-23 01:58:54 -07:00
parent bfba0ada0c
commit 5b8b35a7c6

View file

@ -237,7 +237,7 @@ put__profile(client &client,
request.user_id
};
profile_get(user, param, [&value]
user.profile(std::nothrow, param, [&value]
(const string_view &existing)
{
if(existing == value)