Social: following / followers counter not working properly

Created on 14 Jan 2019  路  5Comments  路  Source: nextcloud/social

The following and followers counter in profile view is not updating after follow and following events.

  1. Search for account to follow
  2. Click on 'Follow'
  3. Go to your Profile
  4. Following count not incremented

In a first test, re-login corrected the counter, but cannot reproduce, so behavior seems a bit random.

_nc: 15.0.2
social: 0.1.2
ubuntu 18.04, apache 2.4_

3. to review 4. to release bug

All 5 comments

This information is cached and updated every tick of the cron setup for your nextcloud (should be 15 minutes)

Ok, that explained my "random" feeling. (cron is on 15 minutes)
Nevertheless I think it is a bit counterintuitive, especially when you begin with 0 Following, start following some people and don't get direct feedback. That is the first thing people do with this (it is also suggested on first start to follow the Nextcloud account) and so for me it was the first thing to report a bug, because 0 Following was displayed when I actually got some.
So should I create a Feature Request now or is the AJAX background job recommend as default for this?

@daita Maybe we can just update the following count for the current user if you follow someone. That shouldn't be much overhead actually.

Did something like this yesterday, i'll check and push today

should be implemented in 0.2.0: #340

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jancborchardt picture jancborchardt  路  6Comments

juliushaertl picture juliushaertl  路  6Comments

bernd-wechner picture bernd-wechner  路  5Comments

ArtificialOwl picture ArtificialOwl  路  7Comments

poVoq picture poVoq  路  5Comments