summaryrefslogtreecommitdiff
path: root/pidgin
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2023-03-21 02:37:23 -0500
committerGary Kramlich <grim@reaperworld.com>2023-03-21 02:37:23 -0500
commit14d0b20a044d5496a97eb88f5da4e8aaac4c0a93 (patch)
treee05e441883e9f5e8f6823212e82343539af3f532 /pidgin
parent26eb56e7957480a4d6a506cf9250d092b924f6f6 (diff)
downloadpidgin-14d0b20a044d5496a97eb88f5da4e8aaac4c0a93.tar.gz
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/
Diffstat (limited to 'pidgin')
-rw-r--r--pidgin/pidgincontactlist.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/******************************************************************************