Skip to content

Commit

Permalink
Merge pull request #170 from HelloVolla/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
wurzer authored Sep 17, 2023
2 parents d3172d6 + b199fe3 commit d92647c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.2.14" android:versionCode="284" android:installLocation="auto">
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.2.15" android:versionCode="285" android:installLocation="auto">
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29"/>

<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,16 @@ public void onNotificationPosted(StatusBarNotification sbn){
Log.d(TAG, "Keeping Volla notifications messages");
repository.insertMessage(msg);

users.uuid = String.valueOf(msg.getUuid());
users.uuid = msg.getSelfDisplayName();
users.body = msg.getText();
users.user_name = title;
users.user_name = String.valueOf(msg.getUuid());
users.user_contact_number = "";
users.read = false;
users.isSent = false;
if(msg.getSelfDisplayName() != null && msg.getSelfDisplayName().length()>=1){
users.isSent = false;
} else {
users.isSent = true;
}
users.notification = notificationStr;
users.timeStamp = msg.getTimeStamp();
repository.insertUser(users);
Expand Down
4 changes: 2 additions & 2 deletions android/src/com/volla/launcher/worker/SignalWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ static void retriveMessageThreads(Map message, Activity activity){
for (Users m : it) {
Map reply = new HashMap();
reply.put("id", m.getId());
reply.put("thread_id", m.getUuid());
reply.put("thread_id", m.getUser_name());
reply.put("body", m.getBody());
reply.put("person", m.getUser_name());
reply.put("person", m.getUuid());
reply.put("address", "");
reply.put("date", Long.toString(m.getTimeStamp()));
reply.put("read", m.getRead());
Expand Down

0 comments on commit d92647c

Please # to comment.