mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 12:17:03 +02:00
fix types around sending stickers
This commit is contained in:
parent
c21445c406
commit
ba7604fd44
@ -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()) {
|
||||
dis.dispatch({action: 'require_registration'});
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user