# HG changeset patch # User Sadrul Habib Chowdhury # Date 1180475323 0 # Node ID 289ac53f753f9ab580447fde626154cb74ae4d9a # Parent c0c17a81f5fe5b7cd787f7e0c1e72a40dd71d363 Do not send typing notification if you are typing a /-command. diff -r c0c17a81f5fe -r 289ac53f753f finch/gntconv.c --- a/finch/gntconv.c Mon May 28 00:21:27 2007 +0000 +++ b/finch/gntconv.c Tue May 29 21:48:43 2007 +0000 @@ -64,7 +64,7 @@ send_typing_notification(GntWidget *w, FinchConv *ggconv) { const char *text = gnt_entry_get_text(GNT_ENTRY(ggconv->entry)); - gboolean empty = (!text || !*text); + gboolean empty = (!text || !*text || (*text == '/')); if (purple_prefs_get_bool("/finch/conversations/notify_typing")) { PurpleConversation *conv = ggconv->active_conv; PurpleConvIm *im = PURPLE_CONV_IM(conv);