mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
Enumerate->label
This commit is contained in:
parent
f8e46819c5
commit
8091cf7df8
@ -265,10 +265,10 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
/**
|
||||
* Enumerate a given membership event, `e`, where `getContent().membership` has
|
||||
* Label a given membership event, `e`, where `getContent().membership` has
|
||||
* changed for each transition allowed by the Matrix protocol. This attempts to
|
||||
* enumerate the membership changes that occur in `../../../TextForEvent.js`.
|
||||
* @param {MatrixEvent} e the membership change event to enumerate.
|
||||
* label the membership changes that occur in `../../../TextForEvent.js`.
|
||||
* @param {MatrixEvent} e the membership change event to label.
|
||||
* @returns {string?} the transition type given to this event. This defaults to `null`
|
||||
* if a transition is not recognised.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user