diff --git a/src/dialogs.py b/src/dialogs.py
index 20fd00a2e56eba305e053849e2b6df2f8f665e45..aea7e08fd1dd0b408740e188a98710b87118fc47 100644
--- a/src/dialogs.py
+++ b/src/dialogs.py
@@ -2932,7 +2932,11 @@ class RosterItemExchangeWindow:
 					groups = model[iter][3].split(', ')
 					if groups == ['']:
 						groups = []
-					gajim.interface.roster.req_sub(self, model[iter][1], message,
+					jid = model[iter][1].decode('utf-8')
+					if gajim.jid_is_transport(self.jid_from):
+						gajim.connections[self.account].automatically_added.append(
+							jid)
+					gajim.interface.roster.req_sub(self, jid, message,
 						self.account, groups=groups, nickname=model[iter][2],
 						auto_auth=True)
 				iter = model.iter_next(iter)