Small fixes
This commit is contained in:
parent
3a27831112
commit
feaf75b327
5 changed files with 53 additions and 29 deletions
|
@ -40,6 +40,10 @@ func (bot *Bot) initClients() {
|
|||
func (bot *Bot) startClients() {
|
||||
log.Debugln("Starting Matrix syncer")
|
||||
for _, client := range bot.Clients {
|
||||
go func() {
|
||||
client.SetAvatarURL(client.DB.AvatarURL)
|
||||
client.SetDisplayName(client.DB.DisplayName)
|
||||
}()
|
||||
if client.DB.Sync {
|
||||
client.Sync()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue