Changeset View
Changeset View
Standalone View
Standalone View
src/matrix-sdk.hpp
| Show First 20 Lines • Show All 164 Lines • ▼ Show 20 Lines | public Q_SLOTS: | ||||
| * @param name The room's name. | * @param name The room's name. | ||||
| * @param alias The alias of the room. | * @param alias The alias of the room. | ||||
| * @param invite List of matrix ids of users to invite. | * @param invite List of matrix ids of users to invite. | ||||
| * @param isDirect Whether it is a direct message room. | * @param isDirect Whether it is a direct message room. | ||||
| * @param allowFederate Whether to allow users on other servers to join. | * @param allowFederate Whether to allow users on other servers to join. | ||||
| * @param topic The topic of the room. | * @param topic The topic of the room. | ||||
| * @param powerLevelContentOverride The content to override m.room.power_levels event. | * @param powerLevelContentOverride The content to override m.room.power_levels event. | ||||
| * @param preset The preset to create the room with. | * @param preset The preset to create the room with. | ||||
| * @param encrypted Whether to enable encryption for this room. | |||||
| */ | */ | ||||
| MatrixPromise *createRoom( | MatrixPromise *createRoom( | ||||
| bool isPrivate, | bool isPrivate, | ||||
| const QString &name, | const QString &name, | ||||
| const QString &alias, | const QString &alias, | ||||
| const QStringList &invite, | const QStringList &invite, | ||||
| bool isDirect, | bool isDirect, | ||||
| bool allowFederate, | bool allowFederate, | ||||
| const QString &topic, | const QString &topic, | ||||
| const QJsonValue &powerLevelContentOverride, | const QJsonValue &powerLevelContentOverride, | ||||
| CreateRoomPreset preset | CreateRoomPreset preset, | ||||
| bool encrypted | |||||
| ); | ); | ||||
| /** | /** | ||||
| * Join a room. | * Join a room. | ||||
| * @param idOrAlias The id or alias of the room to join. | * @param idOrAlias The id or alias of the room to join. | ||||
| * @param servers The servers to use when joining the room. | * @param servers The servers to use when joining the room. | ||||
| */ | */ | ||||
| MatrixPromise *joinRoom( | MatrixPromise *joinRoom( | ||||
| ▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines | |||||