From 9e4b1621f1895e3090b86e10324416836d2f3e4f Mon Sep 17 00:00:00 2001 From: gutmet Date: Sun, 20 Sep 2020 10:50:16 +0200 Subject: [PATCH] status: use screen name instead of name for output --- drivel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivel.go b/drivel.go index 956172e..5f9e451 100644 --- a/drivel.go +++ b/drivel.go @@ -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:"