Fixed outgoing messages with files in group chat download issue on other devices with same account
This commit is contained in:
parent
2d5ddf869d
commit
6619173f08
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ public class ChatMessageViewHolder extends RecyclerView.ViewHolder implements Vi
|
||||||
final TextView fileName = content.findViewById(R.id.file);
|
final TextView fileName = content.findViewById(R.id.file);
|
||||||
fileName.setVisibility(View.GONE);
|
fileName.setVisibility(View.GONE);
|
||||||
|
|
||||||
if (c.isFile() || (c.isFileTransfer() && message.isOutgoing())) {
|
if (c.isFile() || (c.isFileTransfer() && !c.getFilePath().isEmpty())) {
|
||||||
// If message is outgoing, even if content
|
// If message is outgoing, even if content
|
||||||
// is file transfer we have the file available
|
// is file transfer we have the file available
|
||||||
final String filePath = c.getFilePath();
|
final String filePath = c.getFilePath();
|
||||||
|
|
Loading…
Reference in a new issue