1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed roster resource list

This commit is contained in:
James Booth 2014-11-13 01:19:20 +00:00
parent 0a7c16747b
commit dad8e2799d

View File

@ -335,7 +335,7 @@ p_contact_get_available_resources(const PContact contact)
GList *curr_resource = resources;
while (curr_resource) {
Resource *resource = resources->data;
Resource *resource = curr_resource->data;
ordered = g_list_insert_sorted(ordered, resource, (GCompareFunc)resource_compare_availability);
curr_resource = g_list_next(curr_resource);
}