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
91927f50
Unverified
Commit
91927f50
authored
Nov 13, 2017
by
Leonardo Aramaki
Committed by
GitHub
Nov 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #562 from RocketChat/fix/push-crash
Fix crash deserializing message json
parents
2b30023c
2e596dbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
build.gradle
app/build.gradle
+2
-2
PushManager.kt
app/src/main/java/chat/rocket/android/push/PushManager.kt
+2
-2
No files found.
app/build.gradle
View file @
91927f50
...
@@ -20,8 +20,8 @@ android {
...
@@ -20,8 +20,8 @@ android {
applicationId
"chat.rocket.android"
applicationId
"chat.rocket.android"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
versionCode
4
7
versionCode
4
8
versionName
"1.0.2
4
"
versionName
"1.0.2
5
"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
vectorDrawables
.
useSupportLibrary
=
true
vectorDrawables
.
useSupportLibrary
=
true
multiDexEnabled
true
multiDexEnabled
true
...
...
app/src/main/java/chat/rocket/android/push/PushManager.kt
View file @
91927f50
...
@@ -528,9 +528,9 @@ object PushManager {
...
@@ -528,9 +528,9 @@ object PushManager {
init
{
init
{
val
json
=
JSONObject
(
sender
)
val
json
=
JSONObject
(
sender
)
_id
=
json
.
ge
tString
(
"_id"
)
_id
=
json
.
op
tString
(
"_id"
)
username
=
json
.
getString
(
"username"
)
username
=
json
.
getString
(
"username"
)
name
=
json
.
ge
tString
(
"name"
)
name
=
json
.
op
tString
(
"name"
)
}
}
}
}
}
}
...
...
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