1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 13:44:40 +00:00

Removed unseen requirement for rule sounds

This commit is contained in:
M66B 2024-06-12 16:58:16 +02:00
parent 61f8e30e49
commit 6c6e55f2b7

View file

@ -1403,9 +1403,6 @@ public class EntityRule {
}
private boolean onActionSound(Context context, EntityMessage message, JSONObject jargs) throws JSONException {
if (message.ui_seen)
return false;
Uri uri = (jargs.has("uri") ? Uri.parse(jargs.getString("uri")) : null);
boolean alarm = jargs.getBoolean("alarm");
int duration = jargs.optInt("duration", MediaPlayerHelper.DEFAULT_ALARM_DURATION);