aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 0f8f3f0..eeff01e 100644
--- a/main.go
+++ b/main.go
@@ -188,8 +188,10 @@ func main() {
AccountName: name,
Protocol: params.Protocol,
Conn: conn,
+ JoinedRooms: map[connector.RoomID]bool{},
}
conn.SetHandler(account)
+ appservice.AddAccount(account)
go connectAndJoin(conn, params)
}
}