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