add subscribers list debug

This commit is contained in:
Andriy Cherniy 2024-01-05 21:58:28 +02:00
parent b3bf6d7b17
commit 5d3bcb5c3d

View file

@ -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)