Poll WIP (#231):

* backend: custom xml
This commit is contained in:
John Livingston
2024-07-01 12:36:32 +02:00
parent 5e6fd50c49
commit c5b0176e95
3 changed files with 42 additions and 1 deletions

View File

@ -3,7 +3,15 @@
-- FIXME: create a XEP to standardize this, and remove the "x-".
local xmlns_poll = "http://jabber.org/protocol/muc#x-poll";
local xmlns_poll_message = "http://jabber.org/protocol/muc#x-poll-message";
local poll_message_tag = "x-poll";
local poll_question_tag = "x-poll-question";
local poll_choice_tag = "x-poll-choice";
return {
xmlns_poll = xmlns_poll;
xmlns_poll_message = xmlns_poll_message;
poll_message_tag = poll_message_tag;
poll_question_tag = poll_question_tag;
poll_choice_tag = poll_choice_tag;
};