[FIX] Not possible accept video call if "Hide right sidebar with click" is enabled (#22175)

pull/22178/head
Guilherme Gazzo 4 years ago committed by GitHub
parent 2ffbe5a810
commit f18810036d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      app/ui-utils/client/lib/messageContext.js

@ -85,7 +85,11 @@ export function messageContext({ rid } = Template.instance()) {
return openThread;
},
runAction(msg) {
return () => (e) => runAction(msg, e);
return () => (e) => {
e.preventDefault();
e.stopPropagation();
runAction(msg, e);
};
},
openDiscussion() {
return openDiscussion;

Loading…
Cancel
Save