mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
modules/federation: Return the response x val rather than default construction in handlers.
This commit is contained in:
parent
01ac59df82
commit
8cc01dfc4d
8 changed files with 8 additions and 8 deletions
|
@ -127,7 +127,7 @@ get__backfill(client &client,
|
|||
pdus.append(event);
|
||||
}
|
||||
|
||||
return {};
|
||||
return response;
|
||||
}
|
||||
|
||||
static size_t
|
||||
|
|
|
@ -128,7 +128,7 @@ get__backfill_ids(client &client,
|
|||
pdus.append(event_id);
|
||||
}
|
||||
|
||||
return {};
|
||||
return response;
|
||||
}
|
||||
|
||||
resource::method
|
||||
|
|
|
@ -72,7 +72,7 @@ handle_get(client &client,
|
|||
};
|
||||
|
||||
pdus.append(event);
|
||||
return {};
|
||||
return response;
|
||||
}
|
||||
|
||||
resource::method method_get
|
||||
|
|
|
@ -99,7 +99,7 @@ get__event_auth(client &client,
|
|||
auth_chain.append(event);
|
||||
});
|
||||
|
||||
return {};
|
||||
return response;
|
||||
}
|
||||
|
||||
resource::method
|
||||
|
|
|
@ -181,7 +181,7 @@ put__send_join(client &client,
|
|||
});
|
||||
}
|
||||
|
||||
return {};
|
||||
return response;
|
||||
}
|
||||
|
||||
resource::method
|
||||
|
|
|
@ -117,7 +117,7 @@ get__state(client &client,
|
|||
});
|
||||
}
|
||||
|
||||
return {};
|
||||
return response;
|
||||
}
|
||||
|
||||
resource::method
|
||||
|
|
|
@ -112,7 +112,7 @@ get__state_ids(client &client,
|
|||
});
|
||||
}
|
||||
|
||||
return {};
|
||||
return response;
|
||||
}
|
||||
|
||||
resource::method
|
||||
|
|
|
@ -120,5 +120,5 @@ get__user_devices(client &client,
|
|||
return true;
|
||||
});
|
||||
|
||||
return {};
|
||||
return response;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue