EventIndex: Document the return value of the isValidEvent method.
This commit is contained in:
parent
59f8b4f6b1
commit
156c6b8db8
1 changed files with 2 additions and 0 deletions
|
@ -247,6 +247,8 @@ export default class EventIndex extends EventEmitter {
|
|||
* or aren't of a type that we know how to index.
|
||||
*
|
||||
* @param {MatrixEvent} ev The event that should checked.
|
||||
* @returns {bool} Returns true if the event can be indexed, false
|
||||
* otherwise.
|
||||
*/
|
||||
isValidEvent(ev) {
|
||||
const validEventType = ([
|
||||
|
|
Loading…
Reference in a new issue