Merge pull request #2437 from nextcloud/remove_no_description_available_messages_in_activity_list

If there's no description just say nothing
This commit is contained in:
Michael Schuster 2020-09-18 20:41:34 +02:00 committed by GitHub
commit 0f2784107c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,9 +202,6 @@ QVariant ActivityListModel::data(const QModelIndex &index, int role) const
case ActionTextColorRole:
return a._id == -1 ? QLatin1String("#808080") : QLatin1String("#222"); // FIXME: This is a temporary workaround for _showMoreActivitiesAvailableEntry
case MessageRole:
if (a._message.isEmpty()) {
return QString("No description available.");
}
return a._message;
case LinkRole: {
if (a._link.isEmpty()) {