Glific v0.3.1 Glific.Providers.Glifproxy.Worker View Source

A worker to handle send message processes

Link to this section Summary

Functions

Standard perform method to use Oban worker

Proxy the message from a number to a fake proxy contact. Do it one way only Don't do the reverse, to avoid infinite loops in automation. For a workaroung, the "faker" message is processed in the reverse direction to create the contact

Link to this section Functions

Specs

perform(Oban.Job.t()) :: :ok

Standard perform method to use Oban worker

Link to this function

proxy_message(message, payload)

View Source

Specs

proxy_message(map(), Oban.Job.t()) :: any()

Proxy the message from a number to a fake proxy contact. Do it one way only Don't do the reverse, to avoid infinite loops in automation. For a workaroung, the "faker" message is processed in the reverse direction to create the contact