fix: spec

This commit is contained in:
Barış Soner Uşaklı
2020-11-23 14:18:47 -05:00
parent 3f337b5d7c
commit b18e7e319b
4 changed files with 64 additions and 1 deletions

View File

@@ -161,6 +161,7 @@ async function getCounts(userData, callerUID) {
counts.groups = userData.groups.length;
counts.following = userData.followingCount;
counts.followers = userData.followerCount;
userData.blocksCount = counts.blocks || 0; // for backwards compatibility, remove in 1.16.0
userData.counts = counts;
}