User trust level resets to zero when unlocked

I can repro the issue.

  1. Lock a user trust level (needs to be higher than 0)

  2. Unlock its trust level

  3. Trust level is displayed at 0.

If I display the user trust level using the API, it returns 0.

However, the user is able to do actions that are allowed only for trust level 1, like sending a personal message. It seems that triggering such an action then re-enables the right trust level for the user.

It’s a bit weird, I’ll dig a bit more.