Reduce unnecessary or overly verbose logging
This commit is contained in:
parent
850482ea70
commit
089e2864b3
7 changed files with 16 additions and 17 deletions
|
@ -2206,9 +2206,16 @@ export class ConversationModel extends window.Backbone.Model<
|
|||
return undefined;
|
||||
}
|
||||
|
||||
const emoji = this.get('aboutEmoji');
|
||||
const text = this.get('about');
|
||||
|
||||
if (!emoji) {
|
||||
return text;
|
||||
}
|
||||
|
||||
return window.i18n('message--getNotificationText--text-with-emoji', {
|
||||
text: this.get('about'),
|
||||
emoji: this.get('aboutEmoji'),
|
||||
text,
|
||||
emoji,
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -2743,10 +2750,6 @@ export class ConversationModel extends window.Backbone.Model<
|
|||
);
|
||||
}
|
||||
|
||||
window.log.warn(
|
||||
'getMembers: Group conversation had neither membersV2 nor members'
|
||||
);
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue