[sr-dev] git:3.3: modules_k/presence_[dialoginfo|mwi|reginfo]: fixed test of wrong variable