summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-07-25 10:30:36 +0200
committerErik Larkö <erik@mullvad.net>2017-07-28 07:29:41 +0200
commit8df67c161683773092668130deec3f50c23b9205 (patch)
tree7f2f9b8ae3f2c2927345b31c86465464b538e923 /app/lib
parentfd803f74404a1a10f290cbd0852c4ee9a1b2d7ae (diff)
downloadmullvadvpn-8df67c161683773092668130deec3f50c23b9205.tar.xz
mullvadvpn-8df67c161683773092668130deec3f50c23b9205.zip
Added NEW_PUBLIC_IP action
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index c8bea1600b..3c322afa6d 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -98,7 +98,7 @@ export class Backend {
this._ipc.getIp()
.then( ip => {
log.info('Got ip', ip);
- this._store.dispatch(connectionActions.connectionChange({ clientIp: ip }));
+ this._store.dispatch(connectionActions.newPublicIp(ip));
})
.catch(e => {
log.info('Failed syncing with the backend', e);