Add cache support to Signal Protocol Store

This commit is contained in:
Scott Nonnenberg 2019-02-04 15:54:37 -08:00
parent 1d2c3ae23c
commit 9c540ab977
7 changed files with 171 additions and 52 deletions

View file

@ -67,7 +67,7 @@ export class Image extends React.Component<Props> {
<div
role={canClick ? 'button' : undefined}
onClick={() => {
if (canClick) {
if (canClick && onClick) {
onClick(attachment);
}
}}