Pass around MatrixClients instead of using MatrixClientPeg (#11000)
This commit is contained in:
parent
aa5a2e1363
commit
938aefc51c
28 changed files with 176 additions and 141 deletions
|
@ -201,7 +201,7 @@ export default class MessageContextMenu extends React.Component<IProps, IState>
|
|||
|
||||
private onResendReactionsClick = (): void => {
|
||||
for (const reaction of this.getUnsentReactions()) {
|
||||
Resend.resend(reaction);
|
||||
Resend.resend(MatrixClientPeg.get(), reaction);
|
||||
}
|
||||
this.closeMenu();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue