I am trying to set up a moodle application, and somehow the mobile push notification that are sent to me is using the message on both the subject and message section. I am new to moodle and I am not sure which part could be triggering it. The example is given below:
Expected Result:
Subject: Great! You have received your badge!
Message: [Some explanation about the badge and where to check it]
Actual result:
Subject: [Some explanation about the badge and where to check it]
Message: [Some explanation about the badge and where to check it]
The subject is not used at all. Changing the message from moodle panel (badge/message) would cause the change to be applied to both subject and message.
Moodle version: 3.9.4
Can anyone let me know what could be causing this issue? I think I had made many modifications to the original app, and I have no clue which could be the cause of it.
UPDATE: Just to clarify, this is not about the change not being applied to the message when the change is made. This is about Moodle uses message body on both subject and body while sending the mobile notification to the users. The change is applied to the message, but such a change is applied to both body and subject as well.
My Answer:
One possible reason for this issue could be a customization or modification that you made to the Moodle code or settings that is causing the subject and message to be the same in the mobile push notifications.
I would recommend checking any custom code or settings that you have implemented in Moodle related to notifications, specifically mobile push notifications. Look for any code that may be overriding the default behavior of setting the subject and message separately in the notifications.
If you are unable to identify the specific customization causing this issue, you may want to consider reaching out to the Moodle community or forums for assistance. Other Moodle users or developers may have encountered a similar issue and can provide guidance on how to resolve it.
Rate this post
4 of 5 based on 3674 votesComments