mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +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);
|
pdus.append(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
return {};
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
static size_t
|
static size_t
|
||||||
|
|
|
@ -128,7 +128,7 @@ get__backfill_ids(client &client,
|
||||||
pdus.append(event_id);
|
pdus.append(event_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
return {};
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
resource::method
|
resource::method
|
||||||
|
|
|
@ -72,7 +72,7 @@ handle_get(client &client,
|
||||||
};
|
};
|
||||||
|
|
||||||
pdus.append(event);
|
pdus.append(event);
|
||||||
return {};
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
resource::method method_get
|
resource::method method_get
|
||||||
|
|
|
@ -99,7 +99,7 @@ get__event_auth(client &client,
|
||||||
auth_chain.append(event);
|
auth_chain.append(event);
|
||||||
});
|
});
|
||||||
|
|
||||||
return {};
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
resource::method
|
resource::method
|
||||||
|
|
|
@ -181,7 +181,7 @@ put__send_join(client &client,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return {};
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
resource::method
|
resource::method
|
||||||
|
|
|
@ -117,7 +117,7 @@ get__state(client &client,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return {};
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
resource::method
|
resource::method
|
||||||
|
|
|
@ -112,7 +112,7 @@ get__state_ids(client &client,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return {};
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
resource::method
|
resource::method
|
||||||
|
|
|
@ -120,5 +120,5 @@ get__user_devices(client &client,
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
return {};
|
return response;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue