diaply acct instead of username

close #29
This commit is contained in:
Yasuhiro Matsumoto 2017-04-19 20:52:14 +09:00
parent 5a3a325689
commit 1ddd67b1a4
4 changed files with 33 additions and 6 deletions

View file

@ -18,7 +18,7 @@ func cmdNotification(c *cli.Context) error {
for _, n := range notifications {
if n.Status != nil {
color.Set(color.FgHiRed)
fmt.Fprint(c.App.Writer, n.Account.Username)
fmt.Fprint(c.App.Writer, n.Account.Acct)
color.Set(color.Reset)
fmt.Fprintln(c.App.Writer, " "+n.Type)
s := n.Status