Two small bugfixes
This commit is contained in:
parent
dabab60f56
commit
d39ede068a
2 changed files with 9 additions and 6 deletions
|
@ -66,8 +66,9 @@ export class MessageBody extends React.Component<Props> {
|
|||
<AddNewLines
|
||||
key={key}
|
||||
text={textWithNewLines}
|
||||
renderNonNewLine={({ text }) => (
|
||||
renderNonNewLine={({ text, key: innerKey }) => (
|
||||
<AtMentionify
|
||||
key={innerKey}
|
||||
direction={direction}
|
||||
text={text}
|
||||
bodyRanges={bodyRanges}
|
||||
|
|
|
@ -2119,12 +2119,14 @@ export class ConversationModel extends window.Backbone.Model<
|
|||
async handleMessageSendResult(
|
||||
failoverIdentifiers: Array<string> | undefined,
|
||||
unidentifiedDeliveries: Array<string> | undefined,
|
||||
discoveredIdentifierPairs: Array<{
|
||||
uuid: string | null;
|
||||
e164: string | null;
|
||||
}>
|
||||
discoveredIdentifierPairs:
|
||||
| Array<{
|
||||
uuid: string | null;
|
||||
e164: string | null;
|
||||
}>
|
||||
| undefined
|
||||
): Promise<void> {
|
||||
discoveredIdentifierPairs.forEach(item => {
|
||||
(discoveredIdentifierPairs || []).forEach(item => {
|
||||
const { uuid, e164 } = item;
|
||||
window.ConversationController.ensureContactIds({
|
||||
uuid,
|
||||
|
|
Loading…
Reference in a new issue