This commit is contained in:
Hocuri
2020-10-16 10:22:40 +02:00
parent 9ba23ed977
commit 99d52f0be2
3 changed files with 0 additions and 12 deletions
-1
View File
@@ -167,7 +167,6 @@ public class DcContext {
public native int sendVideochatInvitation(int chat_id);
public native int addDeviceMsg (String label, DcMsg msg);
public native boolean wasDeviceMsgEverAdded(String label);
public native void updateDeviceChats ();
public @NonNull DcLot checkQr (String qr) { return new DcLot(checkQrCPtr(qr)); }
public native String getSecurejoinQr (int chat_id);
public native int joinSecurejoin (String qr);
@@ -85,11 +85,6 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
@Override
protected void onCreate(Bundle icicle, boolean ready) {
ApplicationDcContext dcContext = DcHelper.getContext(this);
// add welcome message
// dcContext.updateDeviceChats();
// 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.
//DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT);