clear conversationsuuid and pending attachments when opening new conversation
This commit is contained in:
		
							parent
							
								
									a849c34f56
								
							
						
					
					
						commit
						6ac1c00d00
					
				| 
						 | 
					@ -2712,6 +2712,12 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
 | 
				
			||||||
        if (pendingTakePhotoUri.clear()) {
 | 
					        if (pendingTakePhotoUri.clear()) {
 | 
				
			||||||
            Log.e(Config.LOGTAG, "cleared pending photo uri");
 | 
					            Log.e(Config.LOGTAG, "cleared pending photo uri");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        if (pendingConversationsUuid.clear()) {
 | 
				
			||||||
 | 
					            Log.e(Config.LOGTAG,"cleared pending conversations uuid");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        if (pendingMediaPreviews.clear()) {
 | 
				
			||||||
 | 
					            Log.e(Config.LOGTAG,"cleared pending media previews");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public Conversation getConversation() {
 | 
					    public Conversation getConversation() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue