1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

chore: corrected getRelationForEvent return docs

This commit is contained in:
Rafael Cascalho
2019-10-15 10:28:23 -03:00
parent 2f8cc75432
commit 42a07de9a7

View File

@@ -689,8 +689,9 @@ EventTimelineSet.prototype.compareEventOrdering = function(eventId1, eventId2) {
* @param {String} eventType
* The relation event's type, such as "m.reaction", etc.
*
* @returns {Relations}
* A container for relation events.
* @returns {?Relations}
* A container for relation events, or undefined if either an event argument is invalid or
* aggregation is disabled.
*/
EventTimelineSet.prototype.getRelationsForEvent = function(
eventId, relationType, eventType,