diff --git a/js/models/conversations.js b/js/models/conversations.js index baaa07792..cedaeec70 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -65,10 +65,13 @@ idForLogging() { if (this.isPrivate()) { - return this.id; + const uuid = this.get('uuid'); + const e164 = this.get('e164'); + return `${uuid || e164} (${this.id})`; } - return `group(${this.id})`; + const groupId = this.get('groupId'); + return `group(${groupId})`; }, handleMessageError(message, errors) {