[sr-dev] git:5.5:ad5f0f52: tm: restore xavps & flags after rebuilding message