diff --git a/ts/textsecure/SendMessage.ts b/ts/textsecure/SendMessage.ts index 2cd766142..07c6c4444 100644 --- a/ts/textsecure/SendMessage.ts +++ b/ts/textsecure/SendMessage.ts @@ -288,6 +288,15 @@ class Message { bodyRange.mentionUuid = range.mentionUuid; return bodyRange; }); + if ( + quote.bodyRanges.length && + (!proto.requiredProtocolVersion || + proto.requiredProtocolVersion < + window.textsecure.protobuf.DataMessage.ProtocolVersion.MENTIONS) + ) { + proto.requiredProtocolVersion = + window.textsecure.protobuf.DataMessage.ProtocolVersion.MENTIONS; + } } if (this.expireTimer) { proto.expireTimer = this.expireTimer;