~edwargix/tallyard

6a1296d8b91da9cf82c6dea2b465019a5fa71056 — David Florness 3 years ago 7dd99bf
Fix test failure for Println
1 files changed, 4 insertions(+), 2 deletions(-)

M matrix/auth.go
M matrix/auth.go => matrix/auth.go +4 -2
@@ 60,13 60,15 @@ func stripNewline(s string) string {
func inquireForAuthInfo() (authInfo *AuthInfo, err error) {
	reader := bufio.NewReader(os.Stdin)

	fmt.Println(`============================== DISCLAIMER ==============================
	disclaimer := `============================== DISCLAIMER ==============================
tallyard won't make any attempts to read your personal Matrix messages.
It uses a Matrix filter that restricts messages it reads to only those
with a type beginning with "xyz.tallyard.".  If you're skeptical, I
encourage you to read the source code.
========================================================================
`)
`

	fmt.Println(disclaimer)

try:
	authInfo = &AuthInfo{}