Skip to content

Commit

Permalink
fix: protocol changes for emotes
Browse files Browse the repository at this point in the history
  • Loading branch information
kuruk-mm committed Jan 30, 2024
1 parent 327982c commit 9e77dcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rust/decentraland-godot-lib/src/comms/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl SerializedProfile {
pub fn to_pb_avatar_equipped_data(&self) -> PbAvatarEquippedData {
PbAvatarEquippedData {
wearable_urns: self.avatar.wearables.to_vec(),
emotes_urns: self
emote_urns: self
.avatar
.emotes
.as_ref()
Expand Down
6 changes: 1 addition & 5 deletions rust/decentraland-godot-lib/src/dcl/js/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,7 @@ pub fn process_events_players_stateless(
.inner
.send(
serde_json::to_string(&EventBodyExpressionId {
expression_id: value
.emote_command
.as_ref()
.map(|v| v.emote_urn.clone())
.unwrap_or_default(),
expression_id: value.emote_urn.clone(),
})
.expect("fail json serialize"),
)
Expand Down

0 comments on commit 9e77dcd

Please sign in to comment.