mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +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":
|
if userobj["color"] == "000000":
|
||||||
userobj["color"] = None
|
userobj["color"] = None
|
||||||
if userobj["avatar_url"][len(userobj["avatar_url"])-15:] != ".jpg":
|
# if userobj["avatar_url"][len(userobj["avatar_url"])-15:] != ".jpg":
|
||||||
userobj["avatar_url"] = userobj["avatar_url"][:len(userobj["avatar_url"])-14] + ".jpg"
|
# userobj["avatar_url"] = userobj["avatar_url"][:len(userobj["avatar_url"])-14] + ".jpg"
|
||||||
if user.nick:
|
if user.nick:
|
||||||
userobj["nick"] = user.nick
|
userobj["nick"] = user.nick
|
||||||
if user.game:
|
if user.game:
|
||||||
|
Loading…
Reference in New Issue
Block a user