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
enqueue relations and redactions as well
as they might need to wait until their target has been sent
This commit is contained in:
@@ -177,7 +177,7 @@ MatrixScheduler.RETRY_BACKOFF_RATELIMIT = function(event, attempts, err) {
|
|||||||
* @see module:scheduler~queueAlgorithm
|
* @see module:scheduler~queueAlgorithm
|
||||||
*/
|
*/
|
||||||
MatrixScheduler.QUEUE_MESSAGES = function(event) {
|
MatrixScheduler.QUEUE_MESSAGES = function(event) {
|
||||||
if (event.getType() === "m.room.message") {
|
if (event.getType() === "m.room.message" || !!event.getTargetId()) {
|
||||||
// put these events in the 'message' queue.
|
// put these events in the 'message' queue.
|
||||||
return "message";
|
return "message";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user