diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-06-04 21:55:33 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-06-04 21:55:33 +0200 |
commit | 0ccf8416f75674097583892ea09d4905770237a5 (patch) | |
tree | 1317f50f2ea6d141e463110019f6e86f5b475610 /src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | |
parent | 54e6c7a3bee1892046a8fae268a509367865f4c8 (diff) |
change default resource to mobile
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services/XmppConnectionService.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 11f87a1d6..84eeeeef2 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -870,8 +870,7 @@ public class XmppConnectionService extends Service { public XmppConnection createConnection(final Account account) { final SharedPreferences sharedPref = getPreferences(); - account.setResource(sharedPref.getString("resource", "mobile") - .toLowerCase(Locale.getDefault())); + account.setResource(sharedPref.getString("resource", "mobile").toLowerCase(Locale.getDefault())); final XmppConnection connection = new XmppConnection(account, this); connection.setOnMessagePacketReceivedListener(this.mMessageParser); connection.setOnStatusChangedListener(this.statusListener); |