mirror of
https://github.com/idanoo/go-mastodon-matrix-webhooks
synced 2025-07-01 11:02:14 +00:00
Fix bold
This commit is contained in:
parent
bc0784dabf
commit
efef4b1fa2
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -67,7 +67,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
|||
if i.Event == "report.created" {
|
||||
err = sendWebhook(
|
||||
fmt.Sprintf(
|
||||
"[New Report](%s): *%s* has reported *%s*: %s",
|
||||
"[New Report](%s): **%s** has reported **%s**: %s",
|
||||
fmt.Sprintf(
|
||||
"https://mastodon.nz/admin/reports/%s",
|
||||
i.Object.ID,
|
||||
|
@ -85,7 +85,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
|||
country := ipLookup(i.Object.IP)
|
||||
err = sendWebhook(
|
||||
fmt.Sprintf(
|
||||
"[New Signup](%s) %s: *%s* (%s). %s",
|
||||
"[New Signup](%s) %s: **%s** (%s). %s",
|
||||
fmt.Sprintf(
|
||||
"https://mastodon.nz/admin/accounts/%s",
|
||||
i.Object.ID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue