widget for showing pinned messages (wip)

This commit is contained in:
or-else
2023-03-23 18:09:11 -07:00
parent 11fe81fdf1
commit 71ee3fbec4
26 changed files with 334 additions and 175 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ class BaseChatMessage extends React.PureComponent {
}
}
if (this.props.userIsAdmin) {
menuItems.push('menu_item_pin');
menuItems.push(this.props.pinned ? 'menu_item_unpin' : 'menu_item_pin');
}
}
menuItems.push('menu_item_forward');