mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
In direct sharing create list using DC_GCL_FOR_FORWARDING|DC_GCL_NO_SPECIALS
This commit is contained in:
@@ -41,7 +41,11 @@ public class DirectShareService extends ChooserTargetService {
|
||||
ComponentName componentName = new ComponentName(this, ShareActivity.class);
|
||||
ApplicationDcContext dcContext = DcHelper.getContext(this);
|
||||
|
||||
DcChatlist chatlist = dcContext.getChatlist(DcContext.DC_GCL_ADD_ALLDONE_HINT, null, 0);
|
||||
DcChatlist chatlist = dcContext.getChatlist(
|
||||
DcContext.DC_GCL_ADD_ALLDONE_HINT | DcContext.DC_GCL_FOR_FORWARDING | DcContext.DC_GCL_NO_SPECIALS,
|
||||
null,
|
||||
0
|
||||
);
|
||||
int max = 4;
|
||||
if (chatlist.getCnt() < max) {
|
||||
max = chatlist.getCnt();
|
||||
|
||||
Reference in New Issue
Block a user