internal MessageParagraph(MessageViewModel message, XElement element) : base(message) { _Spans.AddRange(MessageSpan.EnumerateSpans(element)); }
internal MessageParagraph(MessageViewModel message) : base(message) { }
internal void SetIsMerged(MessageViewModel prev) { IsMerged = prev?.Avatar == Avatar && prev.DisplayName == DisplayName && PublishedAt < prev.PublishedAt.AddMinutes(3); }