mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Yet another file transfer UI fix
This commit is contained in:
parent
d129af2a8e
commit
171b17892b
1 changed files with 4 additions and 2 deletions
|
|
@ -451,8 +451,10 @@ public class ChatEventsAdapter extends ListSelectionAdapter implements ChatMessa
|
|||
|
||||
@Override
|
||||
public void onMsgStateChanged(ChatMessage message, ChatMessage.State state) {
|
||||
if (state == ChatMessage.State.FileTransferDone && !message.isOutgoing()) {
|
||||
message.setAppdata(message.getFileTransferFilepath());
|
||||
if (state == ChatMessage.State.FileTransferDone) {
|
||||
if (!message.isOutgoing()) {
|
||||
message.setAppdata(message.getFileTransferFilepath());
|
||||
}
|
||||
message.setFileTransferFilepath(null); // Not needed anymore, will help differenciate between InProgress states for file transfer / message sending
|
||||
}
|
||||
notifyDataSetChanged();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue