Fix user widget event type.

Add comments for clarity.
This commit is contained in:
Richard Lewis 2018-04-02 10:02:41 +01:00
parent 557a45e890
commit 11915b0cdf
3 changed files with 7 additions and 2 deletions

View file

@ -17,8 +17,8 @@ limitations under the License.
import MatrixClientPeg from './MatrixClientPeg';
export default class WidgetUtils {
/* Returns true if user is able to send state events to modify widgets in this room
* (Does not apply to non-room-based / user widgets)
* @param roomId -- The ID of the room to check
* @return Boolean -- true if the user can modify widgets in this room
* @throws Error -- specifies the error reason