Get group record programatically instead of making user pass in the recipient.

This was the original function but i added in recipient to it. This is causing crashes and thus we just get the group record.
This commit is contained in:
Mikunj
2020-01-22 09:18:12 +11:00
parent 93a9f4c1dc
commit 6b38e5d799
3 changed files with 26 additions and 19 deletions

View File

@@ -175,7 +175,7 @@ public class ConversationUpdateItem extends LinearLayout
icon.setImageResource(R.drawable.ic_group_grey600_24dp);
icon.clearColorFilter();
GroupUtil.getDescription(getContext(), messageRecord.getBody(), messageRecord.getRecipient()).addListener(this);
GroupUtil.getDescription(getContext(), messageRecord.getBody()).addListener(this);
body.setText(messageRecord.getDisplayBody(getContext()));
title.setVisibility(GONE);