update 0.0.7.0

This commit is contained in:
HibiKier
2021-12-16 11:16:28 +08:00
parent b892617824
commit 2653f67193
141 changed files with 2693 additions and 547 deletions
+3 -2
View File
@@ -156,8 +156,9 @@ class GroupInfoUser(db.Model):
if user.nickname:
_tmp = ""
black_word = Config.get_config("nickname", "BLACK_WORD")
for x in user.nickname:
_tmp += "*" if x in black_word else x
if black_word:
for x in user.nickname:
_tmp += "*" if x in black_word else x
return _tmp
return ""