mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Fixed roster resource list
This commit is contained in:
parent
0a7c16747b
commit
dad8e2799d
@ -335,7 +335,7 @@ p_contact_get_available_resources(const PContact contact)
|
|||||||
|
|
||||||
GList *curr_resource = resources;
|
GList *curr_resource = resources;
|
||||||
while (curr_resource) {
|
while (curr_resource) {
|
||||||
Resource *resource = resources->data;
|
Resource *resource = curr_resource->data;
|
||||||
ordered = g_list_insert_sorted(ordered, resource, (GCompareFunc)resource_compare_availability);
|
ordered = g_list_insert_sorted(ordered, resource, (GCompareFunc)resource_compare_availability);
|
||||||
curr_resource = g_list_next(curr_resource);
|
curr_resource = g_list_next(curr_resource);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user