File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1823,7 +1823,7 @@ Room.prototype.getAccountData = function(type) {
1823
1823
1824
1824
1825
1825
/**
1826
- * Returns wheter the syncing user has permission to send a message in the room
1826
+ * Returns whether the syncing user has permission to send a message in the room
1827
1827
* @return {boolean } true if the user should be permitted to send
1828
1828
* message events into the room.
1829
1829
*/
@@ -2073,3 +2073,12 @@ function memberNamesToRoomName(names, count = (names.length + 1)) {
2073
2073
*
2074
2074
* @param {EventStatus } oldStatus The previous event status.
2075
2075
*/
2076
+
2077
+ /**
2078
+ * Fires when the logged in user's membership in the room is updated.
2079
+ *
2080
+ * @event module:models/room~Room#"Room.myMembership"
2081
+ * @param {Room } room The room in which the membership has been updated
2082
+ * @param {string } membership The new membership value
2083
+ * @param {string } prevMembership The previous membership value
2084
+ */
You can’t perform that action at this time.
0 commit comments