mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 17:08:57 +01:00
Fix display name for ios voice messages
iOS populates a filename for voice messages which was overruling our check for the voice message flag when choosing the display name. // FREEBIE
This commit is contained in:
@@ -127,12 +127,12 @@
|
||||
}
|
||||
},
|
||||
displayName: function() {
|
||||
if (this.model.fileName) {
|
||||
return this.model.fileName;
|
||||
}
|
||||
if (this.isVoiceMessage()) {
|
||||
return i18n('voiceMessage');
|
||||
}
|
||||
if (this.model.fileName) {
|
||||
return this.model.fileName;
|
||||
}
|
||||
if (this.isAudio() || this.isVideo()) {
|
||||
return i18n('mediaMssage');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user