mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-22 10:35:25 -04:00
Fix user update (#23)
This commit is contained in:
+2
-2
@@ -279,8 +279,8 @@ class WebsocketHandler:
|
||||
# the keys have . in them so i need to replace with _
|
||||
|
||||
data = payload["data"]
|
||||
data["profile_content"] = data.get("profile.content", None)
|
||||
data["profile_background"] = data.get("profile.background", None)
|
||||
data["profile_content"] = data.pop("profile.content", None)
|
||||
data["profile_background"] = data.pop("profile.background", None)
|
||||
|
||||
user._update(**data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user