Add GroupId for received messages.

// FREEBIE
This commit is contained in:
Moxie Marlinspike
2015-02-23 09:53:32 -08:00
parent 83d65228e9
commit d4493e700e
4 changed files with 7 additions and 4 deletions

View File

@@ -206,7 +206,9 @@ public class DatabaseUpgradeActivity extends BaseActivity {
while ((pushReader != null && pushReader.moveToNext())) {
ApplicationContext.getInstance(getApplicationContext())
.getJobManager()
.add(new PushDecryptJob(getApplicationContext(), pushReader.getLong(pushReader.getColumnIndexOrThrow(PushDatabase.ID))));
.add(new PushDecryptJob(getApplicationContext(),
pushReader.getLong(pushReader.getColumnIndexOrThrow(PushDatabase.ID)),
pushReader.getString(pushReader.getColumnIndexOrThrow(PushDatabase.SOURCE))));
}
} finally {
if (pushReader != null)