Skip to content

Commit

Permalink
fix(cast): casting implies a sender does not care about the response,…
Browse files Browse the repository at this point in the history
… fix for evervision integration
  • Loading branch information
dtfiedler committed Jul 11, 2024
1 parent 434c63f commit 9dcc5ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ Handlers.add(ActionMap.Transfer, utils.hasMatchingTag("Action", ActionMap.Transf
Data = tostring(result),
})
else
if msg.Cast then
-- Casting implies that the sender does not want a response - Reference: https://elixirforum.com/t/what-is-the-etymology-of-genserver-cast/33610/3
if not msg.Cast then
-- Debit-Notice message template, that is sent to the Sender of the transfer
local debitNotice = {
Target = msg.From,
Expand Down

0 comments on commit 9dcc5ae

Please sign in to comment.