log to / from
This commit is contained in:
parent
174acd6173
commit
4ed9ec84d5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user