mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-05 23:42:40 +00:00
Add increment options and slight cleanup
This commit is contained in:
parent
0ccd5714f9
commit
eba25fcc4d
14 changed files with 92 additions and 53 deletions
|
|
@ -5,7 +5,11 @@ import logger from "@server/logger";
|
|||
|
||||
export async function sendOlmSyncMessage(olm: Olm, client: Client) {
|
||||
// NOTE: WE ARE HARDCODING THE RELAY PARAMETER TO FALSE HERE BUT IN THE REGISTER MESSAGE ITS DEFINED BY THE CLIENT
|
||||
const siteConfigurations = await buildSiteConfigurationForOlmClient(client, client.pubKey, false);
|
||||
const siteConfigurations = await buildSiteConfigurationForOlmClient(
|
||||
client,
|
||||
client.pubKey,
|
||||
false
|
||||
);
|
||||
|
||||
await sendToClient(olm.olmId, {
|
||||
type: "olm/sync",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue