mirror of
https://github.com/yulinfeng000/blive.git
synced 2025-03-26 01:00:54 +08:00
修复SuperChatMsg sender id与name互换的bug
This commit is contained in:
parent
6a188c3b53
commit
0c1f94b4a8
@ -184,8 +184,8 @@ class SuperChatMsg(BaseMsg):
|
||||
@property
|
||||
def sender(self):
|
||||
return Sender(
|
||||
id=dict_chain_get(self.body, "data.user_info.uname"),
|
||||
name=dict_chain_get(self.body, "data.uid"),
|
||||
id=dict_chain_get(self.body, "data.uid"),
|
||||
name=dict_chain_get(self.body, "data.user_info.uname"),
|
||||
medal_name=dict_chain_get(self.body, "data.medal_info.medal_name"),
|
||||
medal_level=dict_chain_get(self.body, "data.medal_info.medal_level"),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user