mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-28 22:15:12 +01:00
15 lines
491 B
JavaScript
15 lines
491 B
JavaScript
export default class PendingEvent {
|
|
constructor(data) {
|
|
this._data = data;
|
|
}
|
|
|
|
get roomId() { return this._data.roomId; }
|
|
get queueIndex() { return this._data.queueIndex; }
|
|
get eventType() { return this._data.eventType; }
|
|
get txnId() { return this._data.txnId; }
|
|
get remoteId() { return this._data.remoteId; }
|
|
set remoteId(value) { this._data.remoteId = value; }
|
|
get content() { return this._data.content; }
|
|
get data() { return this._data; }
|
|
}
|