diff --git a/src/roster_window.py b/src/roster_window.py
index 8c79d9589530beddb2e4c0616bed2e0e77c0265b..b57552afb75180d27633027931620aa71ded7ced 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -2102,7 +2102,7 @@ class RosterWindow:
 		if show in gajim.config.get_per('defaultstatusmsg'):
 			if gajim.config.get_per('defaultstatusmsg', show, 'enabled'):
 				on_response(gajim.config.get_per('defaultstatusmsg', show,
-					'message'), pep_dict)
+					'message'), None)
 				return
 		if not always_ask and ((show == 'online' and not gajim.config.get(
 		'ask_online_status')) or (show in ('offline', 'invisible') and not \