mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
fixes for tests
This commit is contained in:
+1
-1
@@ -296,7 +296,7 @@ class Users {
|
||||
|
||||
if (
|
||||
!['UNSET', 'APPROVED', 'SET'].includes(user.status.username.status) ||
|
||||
!user.status.username.history.some(({ created_at }) =>
|
||||
user.status.username.history.some(({ created_at }) =>
|
||||
moment(created_at).isAfter(oldestEditTime)
|
||||
)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user