Possible copy&paste mistake in Discourse User Model Code

I have the impression that silencedTill in line 401 and 402 should be suspendedTill

6 Likes

Yes you are correct, however this is not impacting behavior, just the name is incorrect.

That will do it:

7 Likes

Shouldn’t line 397 be a return statement as well?

4 Likes

Yes it should indeed, that’s a behavior change, a mistake we did in a refactoring few months ago.

6 Likes