Skip to content

Commit

Permalink
fix: get class name issue
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton-byte committed May 14, 2024
1 parent 84fc764 commit e40ae57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neonize/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def build_reply_message(
partial_message.MergeFrom(preview)
else:
partial_message = message
field_name = partial_message.__name__[0].lower() + partial_message.__name__[1:] # type: ignore
field_name = partial_message.__class__.__name__[0].lower() + partial_message.__class__.__name__[1:] # type: ignore
partial_message.contextInfo.MergeFrom(
self._make_quoted_message(quoted, reply_privately)
)
Expand Down

0 comments on commit e40ae57

Please sign in to comment.