You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
EventIndex: Document the return value of the isValidEvent method.
This commit is contained in:
@@ -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 = ([
|
||||
|
||||
Reference in New Issue
Block a user