Mogelijke copy-paste fout 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:

https://github.com/discourse/discourse/pull/28193

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.

https://github.com/discourse/discourse/pull/28194

6 likes