mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
Don't alter avatar urls for now
This commit is contained in:
parent
12936455b0
commit
a3971960e1
@ -68,8 +68,8 @@ class SocketIOInterface:
|
||||
}
|
||||
if userobj["color"] == "000000":
|
||||
userobj["color"] = None
|
||||
if userobj["avatar_url"][len(userobj["avatar_url"])-15:] != ".jpg":
|
||||
userobj["avatar_url"] = userobj["avatar_url"][:len(userobj["avatar_url"])-14] + ".jpg"
|
||||
# if userobj["avatar_url"][len(userobj["avatar_url"])-15:] != ".jpg":
|
||||
# userobj["avatar_url"] = userobj["avatar_url"][:len(userobj["avatar_url"])-14] + ".jpg"
|
||||
if user.nick:
|
||||
userobj["nick"] = user.nick
|
||||
if user.game:
|
||||
|
Loading…
Reference in New Issue
Block a user