diff --git a/src/dialogs.py b/src/dialogs.py index 197f347f6..21af116f6 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -3136,7 +3136,8 @@ class SingleMessageWindow: else: sender_list.append(i[0].jid) else: - sender_list = [self.to_entry.get_text().decode('utf-8')] + sender_list = [j.strip() for j in self.to_entry.get_text().decode( + 'utf-8').split(',')] for to_whom_jid in sender_list: if to_whom_jid in self.completion_dict: