mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 15:52:40 +00:00
[Reactions] Allow reaction only on room messages (Fix #2476).
This commit is contained in:
parent
5e964ff531
commit
daab6950d4
1 changed files with 1 additions and 1 deletions
|
@ -5097,7 +5097,7 @@
|
|||
[self contextualMenuAnimationCompletionAfterBeingShown:YES];
|
||||
}];
|
||||
|
||||
if (RiotSettings.shared.messageReaction && [cell isKindOfClass:MXKRoomBubbleTableViewCell.class])
|
||||
if (RiotSettings.shared.messageReaction && [cell isKindOfClass:MXKRoomBubbleTableViewCell.class] && [self.roomDataSource canReactToEventWithId:event.eventId])
|
||||
{
|
||||
MXKRoomBubbleTableViewCell *roomBubbleTableViewCell = (MXKRoomBubbleTableViewCell*)cell;
|
||||
MXKRoomBubbleCellData *bubbleCellData = roomBubbleTableViewCell.bubbleData;
|
||||
|
|
Loading…
Reference in a new issue