mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 09:37:25 +00:00
Show 'return to call' if local user is in the call group.
This commit is contained in:
@@ -212,10 +212,12 @@ public final class ConversationUpdateItem extends LinearLayout
|
||||
|
||||
int text = 0;
|
||||
if (Util.hasItems(uuids)) {
|
||||
if (GroupCallUpdateDetailsUtil.parse(conversationMessage.getMessageRecord().getBody()).getIsCallFull()) {
|
||||
if (uuids.contains(TextSecurePreferences.getLocalUuid(getContext()))) {
|
||||
text = R.string.ConversationUpdateItem_return_to_call;
|
||||
} else if (GroupCallUpdateDetailsUtil.parse(conversationMessage.getMessageRecord().getBody()).getIsCallFull()) {
|
||||
text = R.string.ConversationUpdateItem_call_is_full;
|
||||
} else {
|
||||
text = uuids.contains(TextSecurePreferences.getLocalUuid(getContext())) ? R.string.ConversationUpdateItem_return_to_call : R.string.ConversationUpdateItem_join_call;
|
||||
text = R.string.ConversationUpdateItem_join_call;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user