Provided by drencom https://github.com/igniterealtime/Openfire/pull/1408
Maybe can still fit into 4.4.0?