1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

remove flag for edits as it's not handled separately anymore

This commit is contained in:
Bruno Windels
2019-05-16 14:40:17 +01:00
parent 69d25c1498
commit 266d0f9d05
3 changed files with 0 additions and 13 deletions

View File

@@ -153,11 +153,6 @@ function keyFromRecoverySession(session, decryptionKey) {
* via `EventTimelineSet#getRelationsForEvent`.
* This feature is currently unstable and the API may change without notice.
*
* @param {boolean} [opts.unstableClientRelationReplacements = false]
* Optional. Set to true to enable client-side handling of m.replace event relations,
* exposed through the `Room.replaceEvent` event.
* This feature is currently unstable and the API may change without notice.
*
* @param {Array} [opts.verificationMethods] Optional. The verification method
* that the application can handle. Each element should be an item from {@link
* module:crypto~verificationMethods verificationMethods}, or a class that
@@ -224,7 +219,6 @@ function MatrixClient(opts) {
this.urlPreviewCache = {};
this._notifTimelineSet = null;
this.unstableClientRelationAggregation = !!opts.unstableClientRelationAggregation;
this.unstableClientRelationReplacements = !!opts.unstableClientRelationReplacements;
this._crypto = null;
this._cryptoStore = opts.cryptoStore;

View File

@@ -99,11 +99,6 @@ function synthesizeReceipt(userId, event, receiptType) {
* via `EventTimelineSet#getRelationsForEvent`.
* This feature is currently unstable and the API may change without notice.
*
* @param {boolean} [opts.unstableClientRelationReplacements = false]
* Optional. Set to true to enable client-side handling of m.replace event relations,
* exposed through the `Room.replaceEvent` event.
* This feature is currently unstable and the API may change without notice.
*
* @prop {string} roomId The ID of this room.
* @prop {string} name The human-readable display name for this room.
* @prop {Array<MatrixEvent>} timeline The live event timeline for this room,

View File

@@ -119,14 +119,12 @@ SyncApi.prototype.createRoom = function(roomId) {
const {
timelineSupport,
unstableClientRelationAggregation,
unstableClientRelationReplacements,
} = client;
const room = new Room(roomId, client, client.getUserId(), {
lazyLoadMembers: this.opts.lazyLoadMembers,
pendingEventOrdering: this.opts.pendingEventOrdering,
timelineSupport,
unstableClientRelationAggregation,
unstableClientRelationReplacements,
});
client.reEmitter.reEmit(room, ["Room.name", "Room.timeline", "Room.redaction",
"Room.receipt", "Room.tags",