comparison libpurple/protocols/jabber/jabber.c @ 29644:0efd688ed086

Added connection flag ALLOW_ATTENTION Gray out attention button when the connection doesn't support sending attentions
author Marcus Lundblad <ml@update.uu.se>
date Tue, 28 Oct 2008 23:08:13 +0000
parents bb9f7ba4f299
children 602f3b6ddbbf
comparison
equal deleted inserted replaced
29643:bb9f7ba4f299 29644:0efd688ed086
644 "connect_server", ""); 644 "connect_server", "");
645 JabberStream *js; 645 JabberStream *js;
646 JabberBuddy *my_jb = NULL; 646 JabberBuddy *my_jb = NULL;
647 647
648 gc->flags |= PURPLE_CONNECTION_HTML | 648 gc->flags |= PURPLE_CONNECTION_HTML |
649 PURPLE_CONNECTION_ALLOW_CUSTOM_SMILEY; 649 PURPLE_CONNECTION_ALLOW_CUSTOM_SMILEY |
650 PURPLE_CONNECTION_ALLOW_ATTENTION;
650 js = gc->proto_data = g_new0(JabberStream, 1); 651 js = gc->proto_data = g_new0(JabberStream, 1);
651 js->gc = gc; 652 js->gc = gc;
652 js->fd = -1; 653 js->fd = -1;
653 js->iq_callbacks = g_hash_table_new_full(g_str_hash, g_str_equal, 654 js->iq_callbacks = g_hash_table_new_full(g_str_hash, g_str_equal,
654 g_free, g_free); 655 g_free, g_free);