Commit 19f7dc87 authored by Rob P's avatar Rob P Committed by Artem Sylchuk
Browse files

Issue #3344346 by artem_sylchuk: Translate email notification to recipient's preferred language

parent caaf74e8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ class PrivateMessageNotifier implements PrivateMessageNotifierInterface {
          ]);
          $notification->set('field_message_private_message', $message);
          $notification->set('field_message_pm_thread', $thread);
          $notification->setLanguage($member->getPreferredLangcode());
          $notification->save();

          $this->messageNotifier->send($notification);