diff --git a/lib/utils/thread-ops-utils.js b/lib/utils/thread-ops-utils.js --- a/lib/utils/thread-ops-utils.js +++ b/lib/utils/thread-ops-utils.js @@ -54,6 +54,16 @@ }; } + if ( + clientDBThreadInfo.pinnedCount !== null && + clientDBThreadInfo.pinnedCount !== undefined + ) { + rawThreadInfo = { + ...rawThreadInfo, + pinnedCount: clientDBThreadInfo.pinnedCount, + }; + } + return rawThreadInfo; }