mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 12:48:26 +00:00
set list adapter to null when appropriate
set list adapter to null when (recipients or threadId == null) to prevent old messages from being displayed when forwarding a message to a recipient for which there is no existing conversation. Fixes #2883 Closes #2884 // FREEBIE
This commit is contained in:
parent
b77afa8903
commit
efb4f388a5
@ -103,6 +103,10 @@ public class ConversationFragment extends ListFragment
|
||||
|
||||
initializeResources();
|
||||
initializeListAdapter();
|
||||
|
||||
if (threadId == -1) {
|
||||
getLoaderManager().restartLoader(0, null, this);
|
||||
}
|
||||
}
|
||||
|
||||
private void initializeResources() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user