--- a/printer/plainprinter.go Wed Mar 21 00:42:51 2018 +0100
+++ b/printer/plainprinter.go Wed Mar 21 13:26:22 2018 +0100
@@ -183,6 +183,12 @@
indentedPrint(w, indent, false, false, "Locked", "%v", a.Locked)
}
indentedPrint(w, indent, false, true, "User note", "%s", html2string(a.Note)) // XXX too long?
+ if a.Moved != nil {
+ m := a.Moved
+ indentedPrint(w, indent+p.Indent, true, false, "Moved to account ID", "%d (%s)", m.ID, m.Username)
+ indentedPrint(w, indent+p.Indent, false, false, "New user ID", "%s", m.Acct)
+ indentedPrint(w, indent+p.Indent, false, false, "New display name", "%s", m.DisplayName)
+ }
return nil
}
--- a/templates/themes/ansi-dark/account.tmpl Wed Mar 21 00:42:51 2018 +0100
+++ b/templates/themes/ansi-dark/account.tmpl Wed Mar 21 13:26:22 2018 +0100
@@ -10,3 +10,7 @@
Note: {{color "yellow"}}{{. | fromhtml | wrap " " 79 | trim}}{{color "reset"}}{{end}}{{end}}
{{- if eq .locked true}}
Locked: true{{end}}
+{{- with .moved}}
+ MOVED to account ID: {{color "red"}}{{.id}}{{color "reset"}} {{color "magenta"}}@{{.username}}{{color "reset"}}
+ UID: {{color "red"}}{{.acct}}{{color "reset"}}
+ Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}{{end}}
--- a/templates/themes/ansi/account.tmpl Wed Mar 21 00:42:51 2018 +0100
+++ b/templates/themes/ansi/account.tmpl Wed Mar 21 13:26:22 2018 +0100
@@ -10,3 +10,7 @@
Note: {{color "yellow"}}{{. | fromhtml | wrap " " 79 | trim}}{{color "reset"}}{{end}}{{end}}
{{- if eq .locked true}}
Locked: true{{end}}
+{{- with .moved}}
+ MOVED to account ID: {{color "red"}}{{.id}}{{color "reset"}} {{color "magenta"}}@{{.username}}{{color "reset"}}
+ UID: {{color "red"}}{{.acct}}{{color "reset"}}
+ Display name: {{color "black,,bold"}}{{.display_name}}{{color "reset"}}{{end}}