aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 95e9ecbc5..21898993a 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -704,7 +704,7 @@ chat_command_join (EmpathyChat *chat,
while (rooms[i] != NULL) {
/* ignore empty strings */
- if (EMP_STR_EMPTY (rooms[i])) {
+ if (!EMP_STR_EMPTY (rooms[i])) {
TpConnection *connection;
connection = empathy_tp_chat_get_connection (priv->tp_chat);