diff options
author | Sam Whited <sam@samwhited.com> | 2014-11-06 14:49:39 -0500 |
---|---|---|
committer | Sam Whited <sam@samwhited.com> | 2014-11-09 07:00:40 -0500 |
commit | 9db624ec7b6323c7e55aab6f8ec8489d1068fb5f (patch) | |
tree | 8a2f424c3bb8a91cd38fb462a53f860d3575adf0 /src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | |
parent | 864f319500937fb46d86104b12ce767dd6725f64 (diff) |
It builds again!
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services/XmppConnectionService.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index e7897c9b9..f2f9becdd 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -535,11 +535,8 @@ public class XmppConnectionService extends Service { public XmppConnection createConnection(Account account) { SharedPreferences sharedPref = getPreferences(); - try { - account.setResource(sharedPref.getString("resource", "mobile") - .toLowerCase(Locale.getDefault())); - } catch (final InvalidJidException ignored) { - } + account.setResource(sharedPref.getString("resource", "mobile") + .toLowerCase(Locale.getDefault())); XmppConnection connection = new XmppConnection(account, this); connection.setOnMessagePacketReceivedListener(this.mMessageParser); connection.setOnStatusChangedListener(this.statusListener); |