Changeset

8571:44217f40ff4a

MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
author Jonas Wielicki <jonas@wielicki.name>
date Thu, 08 Mar 2018 17:35:56 +0100
parents 8570:a4ef8cfa97bd
children 8572:ce1737520943
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Wed Mar 07 19:22:07 2018 +0100
+++ b/plugins/muc/muc.lib.lua	Thu Mar 08 17:35:56 2018 +0100
@@ -344,6 +344,7 @@
 end
 module:hook("muc-disco#info", function(event)
 	event.reply:tag("feature", {var = "http://jabber.org/protocol/muc"}):up();
+	event.reply:tag("feature", {var = "http://jabber.org/protocol/muc#stable_id"}):up();
 end);
 module:hook("muc-disco#info", function(event)
 	table.insert(event.form, { name = "muc#roominfo_occupants", label = "Number of occupants" });