diff options
author | mjentsch <mtthsjntsch@gmail.com> | 2015-11-18 03:19:40 +0300 |
---|---|---|
committer | mjentsch <mtthsjntsch@gmail.com> | 2015-11-18 03:19:40 +0300 |
commit | 81cf092554120c04dad6b705913c986024d28c9a (patch) | |
tree | 45f7c891fc216a3de7a3a04865d5d0fda1aa9b3c /tgp-blist.c | |
parent | b721e8d2173ca952e6de092b0a764a66a1f9d630 (diff) |
Fix adding foreign buddy
Fix user info and user status not being correctly fetched.
Diffstat (limited to 'tgp-blist.c')
-rw-r--r-- | tgp-blist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tgp-blist.c b/tgp-blist.c index 620fcdd..8847b3e 100644 --- a/tgp-blist.c +++ b/tgp-blist.c @@ -95,6 +95,7 @@ tgl_peer_id_t tgp_blist_buddy_get_id (PurpleBuddy *buddy) { tgl_peer_t *tgp_blist_buddy_get_peer (PurpleBuddy *buddy) { if (! tgp_blist_buddy_has_id (buddy)) { + g_warn_if_reached(); return NULL; } return tgl_peer_get (pbn_get_conn (&buddy->node)->TLS, tgp_blist_buddy_get_id (buddy)); |