diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index a38153c315a807873632fcb1ee8dc391ec362166..e2b678626b14693f33630b0a74ccc6a205396976 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -2814,7 +2814,7 @@ void LLIMMgr::inviteToSession(
 			if (isRejectDoNotDisturb && !isRejectGroupCall && !isRejectNonFriendCall)
 			{
 				LLSD args;
-				LLIMMgr::getInstance()->addSystemMessage(session_id, "you_auto_rejected_call", args);
+				addSystemMessage(session_id, "you_auto_rejected_call", args);
 				send_do_not_disturb_message(gMessageSystem, caller_id, session_id);
 			}
 			// silently decline the call