mirror of
https://github.com/oxen-io/session-android.git
synced 2025-05-08 04:36:51 +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();
|
initializeResources();
|
||||||
initializeListAdapter();
|
initializeListAdapter();
|
||||||
|
|
||||||
|
if (threadId == -1) {
|
||||||
|
getLoaderManager().restartLoader(0, null, this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initializeResources() {
|
private void initializeResources() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user