Don't show the unpin button if the user can't unpin the message.

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2017-09-29 10:53:44 -06:00
parent 9b11f576fe
commit 59a253af37
2 changed files with 12 additions and 3 deletions

View file

@ -20,7 +20,8 @@ limitations under the License.
.mx_PinnedEventsPanel_body {
max-height: 300px;
overflow-y: scroll;
overflow-y: auto;
padding-bottom: 15px;
}
.mx_PinnedEventsPanel_header {