1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-09-19 05:38:48 +00:00

Can update the list of members of a conversation.

This commit is contained in:
2019-11-30 14:38:49 +01:00
parent 47e9d46b4d
commit 862d8e0210
3 changed files with 74 additions and 15 deletions

View File

@@ -122,6 +122,15 @@ export class RequestHandler {
return list;
}
/**
* Turn a list of string into a Set object
*
* @param name Name of POST field
*/
public postNumbersSet(name : string) : Set<number> {
return new Set(this.postNumbersList(name));
}
/**
* Get a boolean included in the request
*