FIX: correct return isForever value (#28194)

Following a refactor we forgot to return the value.
This commit is contained in:
Joffrey JAFFEUX 2024-08-01 16:06:26 +02:00 committed by GitHub
parent a6eba4b203
commit 8b61aafe74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -394,7 +394,7 @@ export default class User extends RestModel.extend(Evented) {
@discourseComputed("silenced_till")
silencedForever(silencedTill) {
isForever(silencedTill);
return isForever(silencedTill);
}
@discourseComputed("suspended_till")