Skip to content

Commit

Permalink
Merge pull request #358 from IEnglishBad/master
Browse files Browse the repository at this point in the history
fix feishu api v2 can't @user with email.
  • Loading branch information
feiyu563 authored Dec 7, 2023
2 parents c75472e + 1bb813f commit a1d5d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/feishu.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func PostToFeiShuv2(title, text, Fsurl, userOpenId, logsign string) string {
OpenIds := strings.Split(userOpenId, ",")
OpenIdtext := ""
for _, OpenId := range OpenIds {
OpenIdtext += "<at user_id=" + OpenId + " id=" + OpenId + "></at>"
OpenIdtext += "<at user_id=" + OpenId + " id=" + OpenId + " email=" + OpenId + "></at>"
}
SendContent += OpenIdtext
}
Expand Down

0 comments on commit a1d5d6a

Please sign in to comment.