You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
also set the deviceId on .ready so we know who to send .start to
This commit is contained in:
@@ -139,7 +139,7 @@ export class ToDeviceChannel {
|
||||
async handleEvent(event, request, isLiveEvent) {
|
||||
const type = event.getType();
|
||||
const content = event.getContent();
|
||||
if (type === REQUEST_TYPE || type === START_TYPE) {
|
||||
if (type === REQUEST_TYPE || type === READY_TYPE || type === START_TYPE) {
|
||||
if (!this.transactionId) {
|
||||
this.transactionId = content.transaction_id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user