Menu

#5 gaim-bnet lets me add same friend twice

closed-fixed
None
8
2005-02-04
2005-01-27
Don Seiler
No

gaim-bnet lets me add a friend multiple times. This
then causes crashes when the bnet prpl initializes the
next time, and extraneous instances will need to be
manually removed from blist.xml.

We should catch attempts to add the same buddy twice.

Discussion

  • Don Seiler

    Don Seiler - 2005-02-03
    • priority: 5 --> 8
     
  • Don Seiler

    Don Seiler - 2005-02-03

    Logged In: YES
    user_id=61900

    bnet definitely returns an error, we should be seeing this
    and not adding a local buddy.

     
  • Don Seiler

    Don Seiler - 2005-02-03

    Logged In: YES
    user_id=61900

    The problem seems to be that we don't check for the buddy first.

    We first add the buddy to the local list, then retrieve the
    remote list and compare the two.

     
  • Don Seiler

    Don Seiler - 2005-02-04

    Logged In: YES
    user_id=61900

    Alright think I have a fix. Calling
    gaim_blist_remove_buddy() in bnet_buddy_add() if the buddy
    is already in conn->buddies.

     
  • Don Seiler

    Don Seiler - 2005-02-04
    • assigned_to: nobody --> rizzo
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.