diff options
author | Chris <ccbrown112@gmail.com> | 2017-09-19 18:31:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-19 18:31:35 -0500 |
commit | ac74066f0e4f3d62f2d4645c3fa34b88c13958d1 (patch) | |
tree | 9e1cb80eae1b4a2e9dcc2272744c4a9db1b4b804 /app/team.go | |
parent | 7e4ff6adcccc4cc5a8fb8cfa853417ec52bf78f4 (diff) | |
download | chat-ac74066f0e4f3d62f2d4645c3fa34b88c13958d1.tar.gz chat-ac74066f0e4f3d62f2d4645c3fa34b88c13958d1.tar.bz2 chat-ac74066f0e4f3d62f2d4645c3fa34b88c13958d1.zip |
remove einterface gets (#7455)
Diffstat (limited to 'app/team.go')
-rw-r--r-- | app/team.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/team.go b/app/team.go index 1aa7abf87..fdf44a783 100644 --- a/app/team.go +++ b/app/team.go @@ -161,7 +161,7 @@ func (a *App) UpdateTeamMemberRoles(teamId string, userId string, newRoles strin return nil, result.Err } - ClearSessionCacheForUser(userId) + a.ClearSessionCacheForUser(userId) sendUpdatedMemberRoleEvent(userId, member) @@ -324,7 +324,7 @@ func (a *App) JoinUserToTeam(team *model.Team, user *model.User, userRequestorId l4g.Error(utils.T("api.user.create_user.joining.error"), user.Id, team.Id, err) } - ClearSessionCacheForUser(user.Id) + a.ClearSessionCacheForUser(user.Id) a.InvalidateCacheForUser(user.Id) message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_ADDED_TO_TEAM, "", "", user.Id, nil) @@ -621,7 +621,7 @@ func (a *App) LeaveTeam(team *model.Team, user *model.User) *model.AppError { return result.Err } - ClearSessionCacheForUser(user.Id) + a.ClearSessionCacheForUser(user.Id) a.InvalidateCacheForUser(user.Id) return nil |