log to / from

This commit is contained in:
Aaron Bieber 2024-07-18 21:32:25 -06:00
parent 174acd6173
commit 4ed9ec84d5
No known key found for this signature in database

View File

@ -115,6 +115,8 @@ func SMSListen(store ChatStore, plugins *plugins.Plugins) {
from = r.URL.Query().Get("from") from = r.URL.Query().Get("from")
to := r.URL.Query().Get("to") to := r.URL.Query().Get("to")
log.Println("dst:", to, "did:", from)
for _, p := range *plugins { for _, p := range *plugins {
if p.Match(from, msg) { if p.Match(from, msg) {
log.Printf("%s: responding to '%s'", p.Name(), from) log.Printf("%s: responding to '%s'", p.Name(), from)