diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-06-02 21:42:40 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-06-02 21:42:40 +0200 |
commit | f0b82554c5133e0a6c414cd0f104dfa565905ff1 (patch) | |
tree | e355d814e237edb131626e0d45c982cfac2b8aa0 /src/main/java | |
parent | f626374682980b9e9e08619f7dfa5406eb8ba4b9 (diff) |
changed default resource to 'mobile'
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 79f4d51f3..0cbf88caa 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -870,7 +870,7 @@ public class XmppConnectionService extends Service { public XmppConnection createConnection(final Account account) { final SharedPreferences sharedPref = getPreferences(); - account.setResource(sharedPref.getString("resource", getString(R.string.default_resource)) + account.setResource(sharedPref.getString("resource", "mobile") .toLowerCase(Locale.getDefault())); final XmppConnection connection = new XmppConnection(account, this); connection.setOnMessagePacketReceivedListener(this.mMessageParser); |