From 4136fb973e7ad27158ef605df12727f4e959c3a3 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Thu, 7 Jul 2016 01:38:05 +0200 Subject: [PATCH] Photo: status_message_guid is optional in xml --- lib/diaspora_federation/entities/photo.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/diaspora_federation/entities/photo.rb b/lib/diaspora_federation/entities/photo.rb index 23066fb..83e5585 100644 --- a/lib/diaspora_federation/entities/photo.rb +++ b/lib/diaspora_federation/entities/photo.rb @@ -40,10 +40,10 @@ module DiasporaFederation property :text, default: nil # @!attribute [r] status_message_guid - # Guid of a status message this message belongs to + # Guid of a status message this photo belongs to # @see StatusMessage#guid # @return [String] guid - property :status_message_guid + property :status_message_guid, default: nil # @!attribute [r] height # Photo height