fix types around sending stickers

pull/21833/head
Michael Telatynski 2021-05-20 13:24:19 +01:00
parent c21445c406
commit ba7604fd44
1 changed files with 1 additions and 1 deletions

View File

@ -1196,7 +1196,7 @@ export default class RoomView extends React.Component<IProps, IState> {
}); });
}; };
private injectSticker(url, info, text) { private injectSticker(url: string, info: object, text: string) {
if (this.context.isGuest()) { if (this.context.isGuest()) {
dis.dispatch({action: 'require_registration'}); dis.dispatch({action: 'require_registration'});
return; return;