@@ -0,0 +1,15 @@
+result!
+title "Snikket Starting..."
+
+instructions(
+ "Your instance #{@domain} is starting up. " \
+ "This may take several minutes. " \
+ "Press next to check if it is ready."
+)
+
+field(
+ label: "If this takes more than 10 minutes, tap here to contact support",
+ var: "support",
+ type: "jid-single",
+ value: CONFIG[:notify_from]
+)
@@ -616,11 +616,10 @@ class Registration
def write
Command.reply { |reply|
reply.allowed_actions = [:next]
- reply.note_type = :info- reply.note_text =- "Your instance #{@instance.domain} is starting up. " \- "This may take several minutes. " \- "Press next to check if it is ready."
+ reply.command << FormTemplate.render(
+ "registration/snikket_wait",
+ domain: @instance.domain
+ )
}.then { GetInvite.for(@instance).then(&:write) }
end
end