mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
when a query is given to getChatlist(), DC_GCL_NO_SPECIALS is not needed
This commit is contained in:
@@ -62,7 +62,7 @@ class SearchRepository {
|
||||
String cleanQuery = sanitizeQuery(query);
|
||||
|
||||
int[] contacts = dcContext.getContacts(DcContext.DC_GCL_ADD_SELF, cleanQuery);
|
||||
DcChatlist conversations = dcContext.getChatlist(DcContext.DC_GCL_NO_SPECIALS, cleanQuery, 0);
|
||||
DcChatlist conversations = dcContext.getChatlist(0, cleanQuery, 0);
|
||||
int[] messages = new int[0];
|
||||
if (queryMessages) {
|
||||
messages = dcContext.searchMsgs(0, cleanQuery);
|
||||
|
||||
Reference in New Issue
Block a user