Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xabber-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
xabber-android
Commits
1d224a56
Commit
1d224a56
authored
Sep 04, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resource by server generation disabled.
parent
783be6ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ConnectionThread.java
.../com/xabber/android/data/connection/ConnectionThread.java
+1
-2
No files found.
app/src/main/java/com/xabber/android/data/connection/ConnectionThread.java
View file @
1d224a56
...
@@ -183,7 +183,6 @@ public class ConnectionThread implements
...
@@ -183,7 +183,6 @@ public class ConnectionThread implements
private
void
onReady
(
XMPPTCPConnectionConfiguration
.
Builder
builder
)
{
private
void
onReady
(
XMPPTCPConnectionConfiguration
.
Builder
builder
)
{
builder
.
setSecurityMode
(
tlsMode
.
getSecurityMode
());
builder
.
setSecurityMode
(
tlsMode
.
getSecurityMode
());
builder
.
setCompressionEnabled
(
compression
);
builder
.
setCompressionEnabled
(
compression
);
builder
.
setResource
(
""
);
builder
.
setSendPresence
(
false
);
builder
.
setSendPresence
(
false
);
{
{
...
@@ -447,7 +446,7 @@ public class ConnectionThread implements
...
@@ -447,7 +446,7 @@ public class ConnectionThread implements
*/
*/
private
void
authorization
(
String
password
)
{
private
void
authorization
(
String
password
)
{
try
{
try
{
xmppConnection
.
login
(
login
,
password
);
xmppConnection
.
login
(
login
,
password
,
resource
);
}
catch
(
IOException
|
SmackException
|
XMPPException
e
)
{
}
catch
(
IOException
|
SmackException
|
XMPPException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
connectionClosedOnError
(
e
);
connectionClosedOnError
(
e
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment