| 7602 PurpleConversation *conv = list->data; |
7602 PurpleConversation *conv = list->data; |
| 7603 if (!purple_conv_chat_has_left(PURPLE_CONV_CHAT(conv)) && |
7603 if (!purple_conv_chat_has_left(PURPLE_CONV_CHAT(conv)) && |
| 7604 purple_conversation_get_account(conv) == account) { |
7604 purple_conversation_get_account(conv) == account) { |
| 7605 purple_conversation_set_data(conv, "want-to-rejoin", GINT_TO_POINTER(TRUE)); |
7605 purple_conversation_set_data(conv, "want-to-rejoin", GINT_TO_POINTER(TRUE)); |
| 7606 purple_conversation_write(conv, NULL, _("The account has disconnected and you are no " |
7606 purple_conversation_write(conv, NULL, _("The account has disconnected and you are no " |
| 7607 "longer in this chat. You will be automatically rejoined in the chat when " |
7607 "longer in this chat. You will automatically rejoin the chat when " |
| 7608 "the account reconnects."), |
7608 "the account reconnects."), |
| 7609 PURPLE_MESSAGE_SYSTEM, time(NULL)); |
7609 PURPLE_MESSAGE_SYSTEM, time(NULL)); |
| 7610 } |
7610 } |
| 7611 list = list->next; |
7611 list = list->next; |
| 7612 } |
7612 } |