aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-06-02 21:42:40 +0200
committerChristian Schneppe <christian@pix-art.de>2016-06-02 21:42:40 +0200
commitf0b82554c5133e0a6c414cd0f104dfa565905ff1 (patch)
treee355d814e237edb131626e0d45c982cfac2b8aa0
parentf626374682980b9e9e08619f7dfa5406eb8ba4b9 (diff)
changed default resource to 'mobile'
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java2
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);