mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-23 01:48:13 +01:00
Conversation.idForLogging: Show groupId or uuid/e164 instead of id
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user