Set Room Key ID

This method marks an existing room as encrypted.

Requirements

Logged In

Permission

Setting

Yes

none

none

Payload

  1. String - the id of the room that is being updated.

  2. String - the keyID to add to the room.

Example Call

{
"msg": "method",
"method": "e2e.setRoomKeyID",
"id": "8",
"params": [
"rid",
"keyID"
]
}

Example Response

{
"msg": "result",
"id": "8",
"result": 1
}

Change Log

Version

Description

0.70.0

Added