You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Autofocus search and fix bugs
Signed-off-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
@ -90,11 +90,14 @@ export default class MessageActionBar extends React.PureComponent {
|
||||
const buttonRect = ev.target.getBoundingClientRect();
|
||||
|
||||
const getReactions = () => {
|
||||
if (!this.props.reactions) {
|
||||
return [];
|
||||
}
|
||||
const userId = MatrixClientPeg.get().getUserId();
|
||||
const myAnnotations = this.props.reactions.getAnnotationsBySender()[userId];
|
||||
return Object.fromEntries([...myAnnotations]
|
||||
.filter(event => !event.isRedacted())
|
||||
.map(event => [event.getRelation().key, event.getId()]))
|
||||
.map(event => [event.getRelation().key, event.getId()]));
|
||||
};
|
||||
|
||||
const menuOptions = {
|
||||
|
Reference in New Issue
Block a user