1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Enumerate->label

This commit is contained in:
Luke Barnard
2017-01-25 09:32:28 +00:00
parent f8e46819c5
commit 8091cf7df8

View File

@@ -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 * changed for each transition allowed by the Matrix protocol. This attempts to
* enumerate the membership changes that occur in `../../../TextForEvent.js`. * label the membership changes that occur in `../../../TextForEvent.js`.
* @param {MatrixEvent} e the membership change event to enumerate. * @param {MatrixEvent} e the membership change event to label.
* @returns {string?} the transition type given to this event. This defaults to `null` * @returns {string?} the transition type given to this event. This defaults to `null`
* if a transition is not recognised. * if a transition is not recognised.
*/ */