From 69060f81199b782559664b39407bd383af7f4f46 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 18:24:55 +0200 Subject: [PATCH] Modify #warning to get author and date. --- libresapi/src/api/ChatHandler.cpp | 2 +- libresapi/src/api/IdentityHandler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libresapi/src/api/ChatHandler.cpp b/libresapi/src/api/ChatHandler.cpp index ef142e0b3..f77d45797 100644 --- a/libresapi/src/api/ChatHandler.cpp +++ b/libresapi/src/api/ChatHandler.cpp @@ -1243,7 +1243,7 @@ void ChatHandler::handleUnreadMsgs(Request &/*req*/, Response &resp) if(count && (mit2 != mChatInfo.end())) { resp.mDataStream.getStreamToMember() -#warning @deprecated using "id" as key can cause problems in some JS based \ +#warning Gioacchino Mazzurco 2017-03-24: @deprecated using "id" as key can cause problems in some JS based \ languages like Qml @see chat_id instead << makeKeyValue("id", mit->first.toStdString()) << makeKeyValue("chat_id", mit->first.toStdString()) diff --git a/libresapi/src/api/IdentityHandler.cpp b/libresapi/src/api/IdentityHandler.cpp index b25dc5d42..8d132dd85 100644 --- a/libresapi/src/api/IdentityHandler.cpp +++ b/libresapi/src/api/IdentityHandler.cpp @@ -243,7 +243,7 @@ void IdentityHandler::handleWildcard(Request & /*req*/, Response &resp) bool pgp_linked = (grp.mMeta.mGroupFlags & RSGXSID_GROUPFLAG_REALID_kept_for_compatibility); resp.mDataStream.getStreamToMember() -#warning @deprecated using "id" as key can cause problems in some JS based \ +#warning Gioacchino Mazzurco 2017-03-24: @deprecated using "id" as key can cause problems in some JS based \ languages like Qml @see gxs_id instead << makeKeyValueReference("id", grp.mMeta.mGroupId) << makeKeyValueReference("gxs_id", grp.mMeta.mGroupId)