mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
return cptr as 64bit (long) instead of 32bit (int), make checkQrCPtr private
This commit is contained in:
@@ -158,7 +158,6 @@ public class DcContext {
|
||||
public native int sendTextMsg (int chat_id, String text);
|
||||
public native int addDeviceMsg (String label, DcMsg msg);
|
||||
public native boolean wasDeviceMsgEverAdded(String label);
|
||||
public native int checkQrCPtr (String qr);
|
||||
public @NonNull DcLot checkQr (String qr) { return new DcLot(checkQrCPtr(qr)); }
|
||||
public native String getSecurejoinQr (int chat_id);
|
||||
public native int joinSecurejoin (String qr);
|
||||
@@ -192,4 +191,5 @@ public class DcContext {
|
||||
private native long getDraftCPtr (int id);
|
||||
private native long getContactCPtr (int id);
|
||||
private native long getLocationsCPtr (int chat_id, int contact_id, long timestamp_start, long timestamp_end);
|
||||
private native long checkQrCPtr (String qr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user