Pass null name when creating DM

This commit is contained in:
Florian Renaud 2023-03-30 08:49:48 +02:00
parent 14ac9ff138
commit 678a10acef

View file

@ -167,7 +167,7 @@ class RustMatrixClient constructor(
runCatching { runCatching {
val roomId = client.createRoom( val roomId = client.createRoom(
CreateRoomParameters( CreateRoomParameters(
name = "", name = null,
topic = null, topic = null,
isEncrypted = true, isEncrypted = true,
isDirect = true, isDirect = true,