status: use screen name instead of name for output
This commit is contained in:
parent
e986f0d7df
commit
9e4b1621f1
|
@ -524,7 +524,7 @@ type Media struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m Status) String() string {
|
func (m Status) String() string {
|
||||||
s := m.User.Name + " " + "(" + m.Id_str + ")" + ":\n" + m.Full_text
|
s := m.User.Screen_name + " " + "(" + m.Id_str + ")" + ":\n" + m.Full_text
|
||||||
allMedia := m.Extended_entities.Media
|
allMedia := m.Extended_entities.Media
|
||||||
if len(allMedia) > 0 {
|
if len(allMedia) > 0 {
|
||||||
s += "\n\nMedia:"
|
s += "\n\nMedia:"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user