Add user avatar to location sharing dialog (#7520)

This commit is contained in:
Andy Balaam 2022-01-12 13:32:08 +00:00 committed by GitHub
parent 5ae166777c
commit 11c8e720b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 134 additions and 62 deletions

View file

@ -532,8 +532,8 @@ export default class MessageComposer extends React.Component<IProps, IState> {
if (SettingsStore.getValue("feature_location_share")) {
buttons.push(
<LocationButton
sender={this.props.room.getMember(MatrixClientPeg.get().getUserId())}
key="location"
room={this.props.room}
shareLocation={this.shareLocation}
menuPosition={menuPosition}
narrowMode={this.state.narrowMode}