From a9e34d34926d7df3fb01143d6733b481c31c292d Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 21 Mar 2014 22:14:52 +0100 Subject: tryed to fix more otr bugs. new resource setting --- src/eu/siacs/conversations/entities/Account.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/eu/siacs/conversations/entities/Account.java') diff --git a/src/eu/siacs/conversations/entities/Account.java b/src/eu/siacs/conversations/entities/Account.java index 3f9510b36..8fd9444a2 100644 --- a/src/eu/siacs/conversations/entities/Account.java +++ b/src/eu/siacs/conversations/entities/Account.java @@ -52,7 +52,7 @@ public class Account extends AbstractEntity{ protected String password; protected int options = 0; protected String rosterVersion; - protected String resource; + protected String resource = "mobile"; protected int status = -1; protected JSONObject keys = new JSONObject(); @@ -137,6 +137,10 @@ public class Account extends AbstractEntity{ this.resource = resource; } + public String getResource() { + return this.resource; + } + public String getJid() { return username+"@"+server; } -- cgit v1.2.3