Automation not respecting encrypt/not encrypt for auto-pms

Using Send PMs when a user is added to a group, there is a checkbox to send the PM encrypted. In my case, it always sends the PM encrypted no matter checked or unchecked - if the user has encryption enabled.

2개의 좋아요

방금 테스트 사이트에 discourse-encrypt를 설치하고 이 기능을 테스트해 봤는데, 내 환경에서는 같은 결과가 나오지 않습니다. 그룹 가입 시 자동 DM을 설정할 수는 있지만, 암호화 없이 전송됩니다(테스트 사용자는 암호화가 활성화된 상태).

제가 다른 방식으로 설정해야 하는 부분이 있을까요?

시도해 볼 방법을 알았습니다. 메시지를 보내는 사용자에게 암호화를 활성화하지 않았습니다. 이 부분을 시도해 보겠습니다.

네, 이 문제를 재현할 수 있을 것 같습니다. Contribute > Bug 주제로 분리하고 재현 단계를 추가하겠습니다.:+1:

  • discourse-encryptdiscourse-automation 활성화
  • Encrypts PM if available(사용 가능한 경우 DM 암호화) 옵션을 끄고 그룹 가입 시 자동 DM 자동화 생성
  • test_user와 지정된 PMs sender(DM 발신자)에게 암호화 설정
  • test_user를 그룹에 추가

  • test_user가 암호화된 DM을 수신함
4개의 좋아요

There’s a PR in progress by @j.jaffeux :raised_hands:

https://github.com/discourse/discourse-automation/pull/176

4개의 좋아요