Added older backport of code to support acks in message alerts