diff --git a/res/values/strings.xml b/res/values/strings.xml index e542b58e..effea43b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -274,4 +274,5 @@ Leave Contact added you to contact list Add back + Your contact has read up to this point diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 546d039e..2a306529 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -494,6 +494,13 @@ public class ConversationFragment extends Fragment { getActivity() .getApplicationContext())); viewHolder.contact_picture.setAlpha(128); + viewHolder.contact_picture.setOnClickListener(new OnClickListener() { + + @Override + public void onClick(View v) { + Toast.makeText(getActivity(), R.string.contact_has_read_up_to_this_point, Toast.LENGTH_SHORT).show(); + } + }); } break;