remove device message for now, we will add a fresh one for the final release

This commit is contained in:
B. Petersen
2021-04-04 14:50:01 +02:00
committed by bjoern
parent 2b18264bc8
commit 6dac8c4989
@@ -89,10 +89,10 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
protected void onCreate(Bundle icicle, boolean ready) {
// update messages - for new messages, do not reuse or modify strings but create new ones.
// it is not needed to keep all past update messages, however, when deleted, also the strings should be deleted.
DcContext dcContext = DcHelper.getContext(this);
DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT);
msg.setText(getString(R.string.update_1_14_android) + "\n\nhttps://delta.chat/en/2020-11-05-android-update");
dcContext.addDeviceMsg("update_1_14j_android", msg); // addDeviceMessage() makes sure, messages with the same id are not added twice
//DcContext dcContext = DcHelper.getContext(this);
//DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT);
//msg.setText(getString(R.string.update_1_14_android) + "\n\nhttps://delta.chat/en/2020-11-05-android-update");
//dcContext.addDeviceMsg("update_1_14j_android", msg); // addDeviceMessage() makes sure, messages with the same id are not added twice
// create view
setContentView(R.layout.conversation_list_activity);