Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-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
AloqaIM-Android
Commits
5232e7eb
Commit
5232e7eb
authored
Apr 20, 2018
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat.Android into new/active-users
parents
f830bced
2ab08f40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
ChatRoomsPresenter.kt
...cket/android/chatrooms/presentation/ChatRoomsPresenter.kt
+4
-0
ConnectionManager.kt
...ocket/android/server/infraestructure/ConnectionManager.kt
+6
-1
No files found.
app/src/main/java/chat/rocket/android/chatrooms/presentation/ChatRoomsPresenter.kt
View file @
5232e7eb
...
@@ -134,6 +134,7 @@ class ChatRoomsPresenter @Inject constructor(
...
@@ -134,6 +134,7 @@ class ChatRoomsPresenter @Inject constructor(
null
null
},
},
name
=
it
.
name
?:
""
,
name
=
it
.
name
?:
""
,
status
=
null
,
fullName
=
it
.
name
,
fullName
=
it
.
name
,
readonly
=
false
,
readonly
=
false
,
updatedAt
=
null
,
updatedAt
=
null
,
...
@@ -167,6 +168,7 @@ class ChatRoomsPresenter @Inject constructor(
...
@@ -167,6 +168,7 @@ class ChatRoomsPresenter @Inject constructor(
null
null
},
},
name
=
it
.
name
?:
""
,
name
=
it
.
name
?:
""
,
status
=
null
,
fullName
=
it
.
fullName
,
fullName
=
it
.
fullName
,
readonly
=
it
.
readonly
,
readonly
=
it
.
readonly
,
updatedAt
=
it
.
updatedAt
,
updatedAt
=
it
.
updatedAt
,
...
@@ -399,6 +401,7 @@ class ChatRoomsPresenter @Inject constructor(
...
@@ -399,6 +401,7 @@ class ChatRoomsPresenter @Inject constructor(
room
.
name
?:
name
room
.
name
?:
name
)
?.
status
,
)
?.
status
,
name
=
room
.
name
?:
name
,
name
=
room
.
name
?:
name
,
status
=
null
,
fullName
=
room
.
fullName
?:
fullName
,
fullName
=
room
.
fullName
?:
fullName
,
readonly
=
room
.
readonly
,
readonly
=
room
.
readonly
,
updatedAt
=
room
.
updatedAt
?:
updatedAt
,
updatedAt
=
room
.
updatedAt
?:
updatedAt
,
...
@@ -438,6 +441,7 @@ class ChatRoomsPresenter @Inject constructor(
...
@@ -438,6 +441,7 @@ class ChatRoomsPresenter @Inject constructor(
subscription
.
name
subscription
.
name
)
?.
status
,
)
?.
status
,
name
=
subscription
.
name
,
name
=
subscription
.
name
,
status
=
null
,
fullName
=
subscription
.
fullName
?:
fullName
,
fullName
=
subscription
.
fullName
?:
fullName
,
readonly
=
subscription
.
readonly
?:
readonly
,
readonly
=
subscription
.
readonly
?:
readonly
,
updatedAt
=
subscription
.
updatedAt
?:
updatedAt
,
updatedAt
=
subscription
.
updatedAt
?:
updatedAt
,
...
...
app/src/main/java/chat/rocket/android/server/infraestructure/ConnectionManager.kt
View file @
5232e7eb
...
@@ -3,7 +3,12 @@ package chat.rocket.android.server.infraestructure
...
@@ -3,7 +3,12 @@ package chat.rocket.android.server.infraestructure
import
chat.rocket.common.model.BaseRoom
import
chat.rocket.common.model.BaseRoom
import
chat.rocket.common.model.User
import
chat.rocket.common.model.User
import
chat.rocket.core.RocketChatClient
import
chat.rocket.core.RocketChatClient
import
chat.rocket.core.internal.realtime.*
import
chat.rocket.core.internal.realtime.subscribeSubscriptions
import
chat.rocket.core.internal.realtime.subscribeRooms
import
chat.rocket.core.internal.realtime.subscribeUserData
import
chat.rocket.core.internal.realtime.subscribeActiveUsers
import
chat.rocket.core.internal.realtime.subscribeRoomMessages
import
chat.rocket.core.internal.realtime.unsubscribe
import
chat.rocket.core.internal.realtime.socket.connect
import
chat.rocket.core.internal.realtime.socket.connect
import
chat.rocket.core.internal.realtime.socket.disconnect
import
chat.rocket.core.internal.realtime.socket.disconnect
import
chat.rocket.core.internal.realtime.socket.model.State
import
chat.rocket.core.internal.realtime.socket.model.State
...
...
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