Skip to content

Commit

Permalink
Update resources/prosody-plugins/mod_polls.lua
Browse files Browse the repository at this point in the history
Co-authored-by: Дамян Минков <[email protected]>
  • Loading branch information
saghul and damencho authored Aug 9, 2024
1 parent 976f70e commit e44e1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/prosody-plugins/mod_polls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ local function get_poll_message(stanza)
return nil;
end
if string.len(json_data) >= POLL_PAYLOAD_LIMIT then
module:log('error', 'Poll payload too large, discarding. Sender: %s', stanza.attr.from);
module:log('error', 'Poll payload too large, discarding. Sender: %s to:%s', stanza.attr.from, stanza.attr.to);
return nil;
end
local data, error = json.decode(json_data);
Expand Down

0 comments on commit e44e1fb

Please sign in to comment.