changeset 21627:9f7590a24b9b

Show a helpful message about account disconnect. Someone should come up with a better string.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 26 Nov 2007 05:19:07 +0000
parents 4c03275346a9
children 495f2f1de998
files finch/gntconn.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntconn.c	Mon Nov 26 04:45:41 2007 +0000
+++ b/finch/gntconn.c	Mon Nov 26 05:19:07 2007 +0000
@@ -152,6 +152,10 @@
 				purple_conv_chat_has_left(PURPLE_CONV_CHAT(conv)))
 			continue;
 		purple_conversation_set_data(conv, "want-to-rejoin", GINT_TO_POINTER(TRUE));
+		purple_conversation_write(conv, NULL, _("The account has disconnected and you are no "
+					"longer in this chat. You will be automatically rejoined in the chat when "
+					"the account reconnects."),
+				PURPLE_MESSAGE_SYSTEM, time(NULL));
 	}
 }