lib/dispatch-rider/publisher.rb in dispatch-rider-1.5.2 vs lib/dispatch-rider/publisher.rb in dispatch-rider-1.5.3

- old
+ new

@@ -52,10 +52,10 @@ { message: build_message(message), destinations: destinations } end def build_message(attributes) DispatchRider::Message.new(attributes).tap do |message| - message.body[:guid] = generate_new_message_id + message.body[:guid] ||= generate_new_message_id end end def generate_new_message_id if DispatchRider.config.debug