Add user avatar to location sharing dialog (#7520)
This commit is contained in:
parent
5ae166777c
commit
11c8e720b2
4 changed files with 134 additions and 62 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue