mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-29 17:51:52 +00:00
Update search query results when messages disappear.
Previously, if a message disappeared while looking at it in the search results, it'd still stick around. Now they'll disappear from the results in real-time.
This commit is contained in:
@@ -83,7 +83,9 @@ public class SearchDatabase extends Database {
|
||||
|
||||
String prefixQuery = query + '*';
|
||||
|
||||
return db.rawQuery(MESSAGES_QUERY, new String[] { prefixQuery, prefixQuery });
|
||||
Cursor cursor = db.rawQuery(MESSAGES_QUERY, new String[] { prefixQuery, prefixQuery });
|
||||
setNotifyConverationListListeners(cursor);
|
||||
return cursor;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user