diff --git a/drivel.go b/drivel.go index e9e64a2..a0c2c33 100644 --- a/drivel.go +++ b/drivel.go @@ -507,16 +507,19 @@ func quote(args []string) error { } type Status struct { - Full_text string - Id_str string - User StatusUser - Quoted_status *Status + Full_text string + Id_str string + User StatusUser + Quoted_status *Status + Retweeted_status *Status } func (m Status) String() string { s := m.User.Name + " " + "(" + m.Id_str + ")" + ":\n" + m.Full_text if m.Quoted_status != nil { - s += "\nQuotes " + m.Quoted_status.String() + s += "\n\nQuotes " + m.Quoted_status.String() + } else if m.Retweeted_status != nil { + s += "\n\nRetweets " + m.Retweeted_status.String() } return s }