mirror of
https://github.com/idanoo/go-mastodon-matrix-webhooks.git
synced 2024-11-22 08:25:17 +00:00
Fix bold
This commit is contained in:
parent
bc0784dabf
commit
efef4b1fa2
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…
Reference in New Issue
Block a user