List and Open commands

This commit is contained in:
Karmanyaah Malhotra
2021-02-28 14:59:03 -05:00
parent 3e75ffaf05
commit a46326cedd
2 changed files with 115 additions and 92 deletions

View File

@@ -58,6 +58,9 @@ type User struct {
ConnectionErrors int
CommunityID string
ChatList map[types.GroupMeID]groupme.Chat
GroupList map[types.GroupMeID]groupme.Group
cleanDisconnection bool
batteryWarningsSent int
lastReconnection int64
@@ -535,6 +538,7 @@ func (user *User) HandleChatList() {
}
user.chatListReceived <- struct{}{}
user.log.Infoln("Chat list received")
user.GroupList = chatMap
go user.syncPortals(chatMap, false)
}