You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Merge pull request #575 from matrix-org/dbkr/udd_no_auto_show
Supporting fixes For making UnknownDeviceDialog not pop up automatically
This commit is contained in:
@@ -1137,6 +1137,9 @@ function _sendEvent(client, room, event, callback) {
|
||||
try {
|
||||
_updatePendingEventStatus(room, event, EventStatus.NOT_SENT);
|
||||
event.error = err;
|
||||
// also put the event object on the error: the caller will need this
|
||||
// to resend or cancel the event
|
||||
err.event = event;
|
||||
|
||||
if (callback) {
|
||||
callback(err);
|
||||
|
||||
Reference in New Issue
Block a user