mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Optimize
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
0f6b7cf580
commit
85ce06a9a9
@ -751,12 +751,15 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
||||
|
||||
} else {
|
||||
boolean foundRealMessage = false;
|
||||
|
||||
if (conversationUser.hasSpreedCapabilityWithName("system-messages")) {
|
||||
for (int i = 0; i < chatMessageList.size(); i++) {
|
||||
if (TextUtils.isEmpty(chatMessageList.get(i).getSystemMessage())) {
|
||||
foundRealMessage = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (foundRealMessage) {
|
||||
if (emptyLayout != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user