partial fix for avatar uploads

This commit is contained in:
or-else
2022-08-25 18:50:11 -10:00
parent df203f48bd
commit 5006a6fb34
7 changed files with 17 additions and 16 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ class InfoView extends React.Component {
}
}
handleImageChanged(img) {
handleImageChanged(mime, img) {
this.setState({avatar: img});
this.props.onTopicDescUpdate(this.props.topic, theCard(null, img || Tinode.DEL_CHAR), null);
}