add a simple list of from names that we will not allow sending from in sms, also set max char limit

This commit is contained in:
Asim Aslam
2021-08-11 10:55:16 +01:00
parent 1ae4745136
commit 0f367123ca
2 changed files with 36 additions and 0 deletions

17
sms/handler/ban_list.go Normal file
View File

@@ -0,0 +1,17 @@
package handler
var (
// crude impression prevention
BanFrom = []string{
"Amazon",
"Google",
"Paypal",
"Facebook",
"Microsoft",
"Twilio",
"Stripe",
"Apple",
"Uber",
"Deliveroo",
}
)