summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorjansol <jhs@psonet.com>2017-07-08 14:41:49 +0300
committermujx <mujx@users.noreply.github.com>2017-07-08 14:41:49 +0300
commitf5ba63946b46877111dc48b760f03e98cc10548d (patch)
treef45a65f6fe012dc98afe68e7769ba6171d88a302 /resources
parent03437cc6935e4d5812fc17aee1e3f79dcdc6bc92 (diff)
Improve login flow (#35)
* Validate both inferred and explicitly entered server addresses by attempting to call the /versions endpoint * If the domain from the mxid fails validation, try prefixing it with 'matrix' * Only show server address field if address validation ultimately fails
Diffstat (limited to 'resources')
-rw-r--r--resources/icons/error.pngbin0 -> 621 bytes
-rw-r--r--resources/res.qrc1
2 files changed, 1 insertions, 0 deletions
diff --git a/resources/icons/error.png b/resources/icons/error.png
new file mode 100644
index 00000000..295dbf06
--- /dev/null
+++ b/resources/icons/error.png
Binary files differ
diff --git a/resources/res.qrc b/resources/res.qrc
index 56bf7144..13a7d309 100644
--- a/resources/res.qrc
+++ b/resources/res.qrc
@@ -12,6 +12,7 @@
<file>icons/user-shape.png</file>
<file>icons/power-button-off.png</file>
<file>icons/smile.png</file>
+ <file>icons/error.png</file>
<file>icons/emoji-categories/people.png</file>
<file>icons/emoji-categories/nature.png</file>