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

chore: updated throws docs in function getRelationsForEvent

This commit is contained in:
Rafael Cascalho
2019-10-17 11:30:41 -03:00
parent 8a03e41a7c
commit bbe141d44e

View File

@@ -695,7 +695,8 @@ EventTimelineSet.prototype.compareEventOrdering = function(eventId1, eventId2) {
* The type of relation involved, such as "m.annotation", "m.reference", "m.replace", etc.
* @param {String} eventType
* The relation event's type, such as "m.reaction", etc.
* @throws If <code>eventId, relationType or eventType</code> are not valid.
* @throws If <code>eventId</code>, <code>relationType</code> or <code>eventType</code>
* are not valid.
*
* @returns {?Relations}
* A container for relation events or undefined if there are no relation events for