peertube-plugin-livechat/prosody-modules/mod_muc_poll/constants.lib.lua

18 lines
647 B
Lua
Raw Normal View History

-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
-- SPDX-License-Identifier: AGPL-3.0-only
-- FIXME: create a XEP to standardize this, and remove the "x-".
local xmlns_poll = "http://jabber.org/protocol/muc#x-poll";
2024-07-01 10:36:32 +00:00
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;
2024-07-01 10:36:32 +00:00
xmlns_poll_message = xmlns_poll_message;
poll_message_tag = poll_message_tag;
poll_question_tag = poll_question_tag;
poll_choice_tag = poll_choice_tag;
};