status: use screen name instead of name for output

This commit is contained in:
gutmet 2020-09-20 10:50:16 +02:00
parent e986f0d7df
commit 9e4b1621f1

View File

@ -524,7 +524,7 @@ type Media struct {
}
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
if len(allMedia) > 0 {
s += "\n\nMedia:"