[aur-dev] [PATCH] Move notification logic to separate function