blob: 00c63528f26524f8e0b6f1192faed281dae52a1f (
plain) (
tree)
|
|
defmodule LSGWeb.SmsController do
use LSGWeb, :controller
require Logger
def ovh_callback(conn, %{"senderid" => from, "message" => message}) do
spawn(fn() -> LSG.IRC.SmsPlugin.incoming(from, String.trim(message)) end)
text(conn, "")
end
end
|