Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix the avatar URL

Acho Arnoldace787b912df
diff --git a/api/pkg/services/webhook_service.go b/api/pkg/services/webhook_service.go
index 94de2362..aade96df 100644
--- a/api/pkg/services/webhook_service.go
+++ b/api/pkg/services/webhook_service.go
@@ -225,8 +225,9 @@ func (service *WebhookService) getPayload(ctxLogger telemetry.Logger, event clou
}
return map[string]string{
- "username": payload.Contact,
- "content": payload.Content,
+ "avatar_url": "https://httpsms.com/avatar.png",
+ "username": payload.Contact,
+ "content": payload.Content,
}
}
diff --git a/web/static/avatar.png b/web/static/avatar.png
new file mode 100644
index 00000000..57cafaeb
Binary files /dev/null and b/web/static/avatar.png differ