diff --git a/src/gajim.py b/src/gajim.py
index 3aee0db644aff7920146005f26eadad6c6b01e00..6f4446be734426259cc1712f3535765f5fd4192f 100755
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -569,7 +569,7 @@ class Interface:
 					notify.notify(_('New Private Message'), full_jid_with_resource,
 						account, 'pm', path_to_image = path, text = txt)
 
-			chat_control.on_private_message(nick, message, array[2])
+			groupchat_control.on_private_message(nick, message, array[2])
 			return
 				
 		# THIS HAS TO BE AFTER PM handling so we can get PMs