mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 11:06:21 +00:00
fix: allow adding own JID to roster
Enable adding oneself to the roster. Self subscriptions are implicit according to XEP-0060 / XEP-0163. So we adapt the /sub command to handle this gracefully by just printing an informative message. Profanitys logic didn't handle own presence/when adding to roster correctly. This got fixed now. Fixes: https://github.com/profanity-im/profanity/issues/2084 Signed-off-by: Michael Vetter <jubalh@iodoru.org>
This commit is contained in:
@@ -22,6 +22,7 @@ typedef struct resource_t
|
||||
|
||||
Resource* resource_new(const gchar* const name, resource_presence_t presence, const gchar* const status,
|
||||
const int priority);
|
||||
Resource* resource_copy(Resource* resource);
|
||||
void resource_destroy(Resource* resource);
|
||||
int resource_compare_availability(Resource* first, Resource* second);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user