0
0
Fork 0
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:
Jason Volk 2019-04-17 21:34:18 -07:00
parent 01ac59df82
commit 8cc01dfc4d
8 changed files with 8 additions and 8 deletions

View file

@ -127,7 +127,7 @@ get__backfill(client &client,
pdus.append(event);
}
return {};
return response;
}
static size_t

View file

@ -128,7 +128,7 @@ get__backfill_ids(client &client,
pdus.append(event_id);
}
return {};
return response;
}
resource::method

View file

@ -72,7 +72,7 @@ handle_get(client &client,
};
pdus.append(event);
return {};
return response;
}
resource::method method_get

View file

@ -99,7 +99,7 @@ get__event_auth(client &client,
auth_chain.append(event);
});
return {};
return response;
}
resource::method

View file

@ -181,7 +181,7 @@ put__send_join(client &client,
});
}
return {};
return response;
}
resource::method

View file

@ -117,7 +117,7 @@ get__state(client &client,
});
}
return {};
return response;
}
resource::method

View file

@ -112,7 +112,7 @@ get__state_ids(client &client,
});
}
return {};
return response;
}
resource::method

View file

@ -120,5 +120,5 @@ get__user_devices(client &client,
return true;
});
return {};
return response;
}