From 14d0b20a044d5496a97eb88f5da4e8aaac4c0a93 Mon Sep 17 00:00:00 2001 From: Gary Kramlich Date: Tue, 21 Mar 2023 02:37:23 -0500 Subject: Use the new status api in the demo protocol plugin We had to add the new properties to the compatibility layer in PurpleContactManager but everything seems to be fine. Testing Done: Connected a demo account and verified the display was right in the contact list. Note, we don't currently display the primitive nor the idle time. Reviewed at https://reviews.imfreedom.org/r/2376/ --- pidgin/pidgincontactlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidgin') diff --git a/pidgin/pidgincontactlist.c b/pidgin/pidgincontactlist.c index 37d8fee340..6d84032ca3 100644 --- a/pidgin/pidgincontactlist.c +++ b/pidgin/pidgincontactlist.c @@ -162,7 +162,7 @@ pidgin_contact_list_message_visible_cb(G_GNUC_UNUSED GtkListItem *item, /* If we have a message, return TRUE because this is bound to the label's * visibility. */ - return (message != NULL); + return !purple_strempty(message); } /****************************************************************************** -- cgit v1.2.1