Skip to content

Commit

Permalink
set user to bot, time to now (#604) (#608)
Browse files Browse the repository at this point in the history
(cherry picked from commit ee8c609)
  • Loading branch information
sbishel authored Apr 18, 2024
1 parent ac6cf3b commit 58ad5a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,8 @@ func (a *API) oauthRedirectHandler(w http.ResponseWriter, r *http.Request) {
Id: stateArr[2],
Message: userConnectedMessage,
ChannelId: stateArr[3],
UserId: a.p.GetBotUserID(),
CreateAt: model.GetMillis(),
}
_ = a.p.GetAPI().UpdateEphemeralPost(mmUser.Id, post)
connectURL := a.p.GetURL() + "/primary-platform"
Expand Down

0 comments on commit 58ad5a2

Please sign in to comment.