add subscribers list debug
This commit is contained in:
parent
b3bf6d7b17
commit
5d3bcb5c3d
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
@ -122,6 +122,9 @@ func main() {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for subscriber := range subscribers {
|
||||||
|
log.Debug(subscriber)
|
||||||
|
}
|
||||||
|
|
||||||
matrix_client, err := mautrix.NewClient(os.Getenv("MATRIX_HOMESERVER"), m_id.UserID(os.Getenv("MATRIX_USERNAME")), os.Getenv("MATRIX_ACCESS_TOKEN"))
|
matrix_client, err := mautrix.NewClient(os.Getenv("MATRIX_HOMESERVER"), m_id.UserID(os.Getenv("MATRIX_USERNAME")), os.Getenv("MATRIX_ACCESS_TOKEN"))
|
||||||
matrix_client.Store = mautrix.NewAccountDataStore("ua.in.fediland.uabot", matrix_client)
|
matrix_client.Store = mautrix.NewAccountDataStore("ua.in.fediland.uabot", matrix_client)
|
||||||
|
|
Loading…
Reference in a new issue