Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: added language to ace message sent event #328

Merged
merged 3 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion edx_ace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .recipient import Recipient
from .recipient_resolver import RecipientResolver

__version__ = '1.11.3'
__version__ = '1.11.4'


__all__ = [
Expand Down
4 changes: 4 additions & 0 deletions edx_ace/utils/signals.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""
Utils for signals.
"""
from django.utils import translation

from edx_ace.signals import ACE_MESSAGE_SENT


Expand Down Expand Up @@ -42,5 +44,7 @@ def send_ace_message_sent_signal(channel, message):
'options': message.options,
'uuid': str(message.uuid),
'send_uuid': str(message.send_uuid),
'message_language': message.language,
'translation_language': translation.get_language()
}
ACE_MESSAGE_SENT.send(sender=channel, message=make_serializable_object(data))
Loading