Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-08-07 23:45:35 +02:00
parent 0f6b7cf580
commit 85ce06a9a9

View file

@ -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;
}
}
}