mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-05 23:42:40 +00:00
Consolidate the messages into the same enum
This commit is contained in:
parent
888f5f8bb6
commit
ce632a25cf
11 changed files with 85 additions and 54 deletions
|
|
@ -79,7 +79,7 @@ export async function blockClient(
|
|||
|
||||
// Send terminate signal if there's an associated OLM and it's connected
|
||||
if (client.olmId && client.online) {
|
||||
await sendTerminateClient(client.clientId, OlmErrorCodes.TERMINATED_BLOCKED, "Blocked", client.olmId);
|
||||
await sendTerminateClient(client.clientId, OlmErrorCodes.TERMINATED_BLOCKED, client.olmId);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue