Mercurial > pidgin
diff libpurple/protocols/jabber/jabber.c @ 29250: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 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Mon Oct 27 23:12:03 2008 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Oct 28 23:08:13 2008 +0000 @@ -646,7 +646,8 @@ JabberBuddy *my_jb = NULL; gc->flags |= PURPLE_CONNECTION_HTML | - PURPLE_CONNECTION_ALLOW_CUSTOM_SMILEY; + PURPLE_CONNECTION_ALLOW_CUSTOM_SMILEY | + PURPLE_CONNECTION_ALLOW_ATTENTION; js = gc->proto_data = g_new0(JabberStream, 1); js->gc = gc; js->fd = -1;