mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
parent
c0dcf4a55a
commit
3677c6ec98
@ -395,10 +395,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
openDownloadable(message);
|
||||||
intent.setDataAndType(activity.xmppConnectionService
|
|
||||||
.getFileBackend().getJingleFileUri(message), "image/*");
|
|
||||||
getContext().startActivity(intent);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
viewHolder.image.setOnLongClickListener(openContextMenu);
|
viewHolder.image.setOnLongClickListener(openContextMenu);
|
||||||
|
Loading…
Reference in New Issue
Block a user