mirror of
https://github.com/idanoo/go-mastodon-matrix-webhooks
synced 2025-07-02 03:22:15 +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" {
|
if i.Event == "report.created" {
|
||||||
err = sendWebhook(
|
err = sendWebhook(
|
||||||
fmt.Sprintf(
|
fmt.Sprintf(
|
||||||
"[New Report](%s): *%s* has reported *%s*: %s",
|
"[New Report](%s): **%s** has reported **%s**: %s",
|
||||||
fmt.Sprintf(
|
fmt.Sprintf(
|
||||||
"https://mastodon.nz/admin/reports/%s",
|
"https://mastodon.nz/admin/reports/%s",
|
||||||
i.Object.ID,
|
i.Object.ID,
|
||||||
|
@ -85,7 +85,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
||||||
country := ipLookup(i.Object.IP)
|
country := ipLookup(i.Object.IP)
|
||||||
err = sendWebhook(
|
err = sendWebhook(
|
||||||
fmt.Sprintf(
|
fmt.Sprintf(
|
||||||
"[New Signup](%s) %s: *%s* (%s). %s",
|
"[New Signup](%s) %s: **%s** (%s). %s",
|
||||||
fmt.Sprintf(
|
fmt.Sprintf(
|
||||||
"https://mastodon.nz/admin/accounts/%s",
|
"https://mastodon.nz/admin/accounts/%s",
|
||||||
i.Object.ID,
|
i.Object.ID,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue