snikket_wait.rb
1result!
2title "Snikket Starting..."
3
4instructions(
5 "Your instance #{@domain} is starting up. " \
6 "This may take several minutes. " \
7 "Press next to check if it is ready."
8)
9
10field(
11 label: "If this takes more than 10 minutes, tap here to contact support",
12 var: "support",
13 type: "jid-single",
14 value: CONFIG[:xep0157].find { |x|
15 x[:var] == "support-addresses"
16 }[:value]&.sub(/^xmpp:/, "")
17)