Skip to content

Commit

Permalink
Add missing IsMuted attribute to an ActivityEvent.
Browse files Browse the repository at this point in the history
  • Loading branch information
samjudson committed Nov 1, 2016
1 parent 8d05a41 commit 1657a10
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions FlickrNet/ActivityEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ public sealed class ActivityEvent : IFlickrParsable
/// </summary>
public string GroupName { get; set; }

/// <summary>
/// Is the activity type muted.
/// </summary>
public bool? IsMuted { get; set; }

/// <summary>
/// If this is a gallery activityits then this will contain the ID of the gallery.
/// </summary>
Expand Down Expand Up @@ -141,6 +146,9 @@ void IFlickrParsable.Load(XmlReader reader)
case "group_name":
GroupName = reader.Value;
break;
case "is_muted":
IsMuted = reader.Value == "1";
break;
default:
UtilityMethods.CheckParsingException(reader);
break;
Expand Down

0 comments on commit 1657a10

Please sign in to comment.