diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-08 23:58:37 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-08 23:58:37 +0200 |
commit | d92e8381db906c20ceb7f91914d63d514a873c8a (patch) | |
tree | 94367a08152e5704eeb4b6b51747919669b46a55 /src/eu/siacs/conversations/xmpp/XmppConnection.java | |
parent | d9c4637b31c79095d7acff43fee03daa83859ea3 (diff) |
setting to increase font size. fixed #420
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/XmppConnection.java')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index 36920929..e7b25e26 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -763,12 +763,15 @@ public class XmppConnection implements Runnable { }); } - private void processStreamError(Tag currentTag) throws XmlPullParserException, IOException { + private void processStreamError(Tag currentTag) + throws XmlPullParserException, IOException { Element streamError = tagReader.readElement(currentTag); - if (streamError!=null && streamError.hasChild("conflict")) { + if (streamError != null && streamError.hasChild("conflict")) { String resource = account.getResource().split("\\.")[0]; - account.setResource(resource+"."+nextRandomId()); - Log.d(Config.LOGTAG,account.getJid()+": switching resource due to conflict ("+account.getResource()+")"); + account.setResource(resource + "." + nextRandomId()); + Log.d(Config.LOGTAG, + account.getJid() + ": switching resource due to conflict (" + + account.getResource() + ")"); } } |