You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix reaction.new clearing the OwnReactions - this field is by design empty for WS reaction.new event for performance reasons but because it's not null we apply a workaround to ignore it (#119)
// Important! `reaction.new` has this field invalidly empty. This is for performance reasons but is left as empty for backward compatibility.
246
+
// We rely on the fact that _ownReactions.TryReplaceRegularObjectsFromDto ignores null and does not clear the list when `own_reactions` is invalidly empty
247
+
eventDto.Message.OwnReactions=null;
248
+
245
249
//StreamTodo: verify if this how we should update the message + what about events for customer to get notified
// Important! `reaction.new` has this field invalidly empty. This is for performance reasons but is left as empty for backward compatibility.
260
+
// We rely on the fact that _ownReactions.TryReplaceRegularObjectsFromDto ignores null and does not clear the list when `own_reactions` is invalidly empty
// Important! `reaction.new` has this field invalidly empty. This is for performance reasons but is left as empty for backward compatibility.
273
+
// We rely on the fact that _ownReactions.TryReplaceRegularObjectsFromDto ignores null and does not clear the list when `own_reactions` is invalidly empty
0 commit comments