Refactored post handling/updating on both the client and server.

This commit is contained in:
JoramWilander
2015-08-26 12:09:01 -04:00
parent 8356e25f80
commit 041d89b85a
28 changed files with 1643 additions and 902 deletions

View File

@@ -77,3 +77,12 @@ func (h *TeamHub) Start() {
}
}()
}
func (h *TeamHub) UpdateChannelAccessCache(userId string, channelId string) {
for webCon := range h.connections {
if webCon.UserId == userId {
webCon.updateChannelAccessCache(channelId)
break
}
}
}