Changeset

5640:5e7e609fae0c

mod_invites_register_web: add inviter back in every html render.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 01 Aug 2023 01:27:45 +0700
parents 5639:1664bd4c274b
children 5660:8a607be2cdcc 5663:f6e8165a2ec2
files mod_invites_register_web/mod_invites_register_web.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_invites_register_web/mod_invites_register_web.lua	Mon Jul 31 16:41:48 2023 +0700
+++ b/mod_invites_register_web/mod_invites_register_web.lua	Tue Aug 01 01:27:45 2023 +0700
@@ -102,6 +102,7 @@
 			uri = invite.uri;
 			type = invite.type;
 			jid = invite.jid;
+			inviter = invite.inviter;
 			password_policy = mod_password_policy.get_policy();
 
 			msg_class = "alert-warning";
@@ -120,6 +121,7 @@
 			uri = invite.uri;
 			type = invite.type;
 			jid = invite.jid;
+			inviter = invite.inviter;
 			password_policy = mod_password_policy.get_policy();
 
 			msg_class = "alert-warning";
@@ -135,6 +137,7 @@
 			uri = invite.uri;
 			type = invite.type;
 			jid = invite.jid;
+			inviter = invite.inviter;
 			password_policy = mod_password_policy.get_policy();
 
 			msg_class = "alert-warning";
@@ -153,6 +156,7 @@
 			uri = invite.uri;
 			type = invite.type;
 			jid = invite.jid;
+			inviter = invite.inviter;
 			password_policy = mod_password_policy.get_policy();
 
 			msg_class = "alert-warning";