summaryrefslogtreecommitdiffstats
path: root/app/team.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-09-19 18:31:35 -0500
committerGitHub <noreply@github.com>2017-09-19 18:31:35 -0500
commitac74066f0e4f3d62f2d4645c3fa34b88c13958d1 (patch)
tree9e1cb80eae1b4a2e9dcc2272744c4a9db1b4b804 /app/team.go
parent7e4ff6adcccc4cc5a8fb8cfa853417ec52bf78f4 (diff)
downloadchat-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.go6
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