Remove ability to set or read author E164 for new quotes
This commit is contained in:
parent
18ccda83ba
commit
8fe1be8678
6 changed files with 14 additions and 23 deletions
|
@ -1234,7 +1234,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
|
||||
const thumbnailWithObjectUrl =
|
||||
!path && !objectUrl
|
||||
? null
|
||||
? undefined
|
||||
: { ...(attachment.thumbnail || {}), objectUrl: path || objectUrl };
|
||||
|
||||
return {
|
||||
|
@ -2026,19 +2026,6 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
return window.ConversationController.getOrCreate(source, 'private');
|
||||
}
|
||||
|
||||
getQuoteContact(): ConversationModel | undefined | null {
|
||||
const quote = this.get('quote');
|
||||
if (!quote) {
|
||||
return null;
|
||||
}
|
||||
const { author } = quote;
|
||||
if (!author) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return window.ConversationController.get(author);
|
||||
}
|
||||
|
||||
// Send infrastructure
|
||||
// One caller today: event handler for the 'Retry Send' entry in triple-dot menu
|
||||
async retrySend(): Promise<string | null | void | Array<void>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue