diff --git a/.docker/Dockerfile b/.docker/Dockerfile
index 458846f120c2..41eaa6350129 100644
--- a/.docker/Dockerfile
+++ b/.docker/Dockerfile
@@ -1,6 +1,6 @@
FROM rocketchat/base:4
-ENV RC_VERSION 0.58.1
+ENV RC_VERSION 0.58.2
MAINTAINER buildmaster@rocket.chat
diff --git a/.sandstorm/sandstorm-pkgdef.capnp b/.sandstorm/sandstorm-pkgdef.capnp
index 1e78d7b313fb..61a74fd70dc2 100644
--- a/.sandstorm/sandstorm-pkgdef.capnp
+++ b/.sandstorm/sandstorm-pkgdef.capnp
@@ -21,7 +21,7 @@ const pkgdef :Spk.PackageDefinition = (
appVersion = 62, # Increment this for every release.
- appMarketingVersion = (defaultText = "0.58.1"),
+ appMarketingVersion = (defaultText = "0.58.2"),
# Human-readable representation of appVersion. Should match the way you
# identify versions of your app in documentation and marketing.
diff --git a/.travis/snap.sh b/.travis/snap.sh
index e1d3de9f97b2..fa0a814d2fa9 100755
--- a/.travis/snap.sh
+++ b/.travis/snap.sh
@@ -17,7 +17,7 @@ elif [[ $TRAVIS_TAG ]]; then
RC_VERSION=$TRAVIS_TAG
else
CHANNEL=edge
- RC_VERSION=0.58.1
+ RC_VERSION=0.58.2
fi
echo "Preparing to trigger a snap release for $CHANNEL channel"
diff --git a/HISTORY.md b/HISTORY.md
index d169140c2a8e..8863fd21a081 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,3 +1,12 @@
+
+## 0.58.2 (2017-08-23)
+
+### Bug Fixes
+
+- [#7758](https://github.com/RocketChat/Rocket.Chat/pull/7758) Fixed bug preventing validation emails to be sent
+
+
+
## 0.58.1 (2017-08-17)
diff --git a/package.json b/package.json
index 44dc47b9085e..a76fde173de7 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "Rocket.Chat",
"description": "The Ultimate Open Source WebChat Platform",
- "version": "0.58.1",
+ "version": "0.58.2",
"author": {
"name": "Rocket.Chat",
"url": "https://rocket.chat/"
diff --git a/packages/rocketchat-lib/rocketchat.info b/packages/rocketchat-lib/rocketchat.info
index ba9f2429d11c..4d1504916bfa 100644
--- a/packages/rocketchat-lib/rocketchat.info
+++ b/packages/rocketchat-lib/rocketchat.info
@@ -1,3 +1,3 @@
{
- "version": "0.58.1"
+ "version": "0.58.2"
}
diff --git a/packages/rocketchat-ui-account/client/accountProfile.js b/packages/rocketchat-ui-account/client/accountProfile.js
index 2038b340d2de..8e2b0d16841f 100644
--- a/packages/rocketchat-ui-account/client/accountProfile.js
+++ b/packages/rocketchat-ui-account/client/accountProfile.js
@@ -220,7 +220,7 @@ Template.accountProfile.events({
e.preventDefault();
e.currentTarget.innerHTML = `${ e.currentTarget.innerHTML } ...`;
e.currentTarget.disabled = true;
- Meteor.call('sendConfirmationEmail', user.emails && user.emails[0] && user.emails[0].address((error, results) => {
+ Meteor.call('sendConfirmationEmail', user.emails && user.emails[0] && user.emails[0].address, (error, results) => {
if (results) {
toastr.success(t('Verification_email_sent'));
} else if (error) {