Ignore:
Timestamp:
2007-12-02T17:25:57Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fc5d06d
Parents:
911cc4f
Message:

Handling of presence-error packets (only useful for groupchats now), moved
jabber_chat_by_jid() (with the right name) to conference.c, I don't know
what it was doing in jabber_util.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r911cc4f r5bd21df  
    270270                return jabber_write( ic, message, strlen( message ) );
    271271       
    272         if( ( s = strchr( who, '=' ) ) && jabber_chat_by_name( ic, s + 1 ) )
     272        if( ( s = strchr( who, '=' ) ) && jabber_chat_by_jid( ic, s + 1 ) )
    273273                bud = jabber_buddy_by_ext_jid( ic, who, 0 );
    274274        else
     
    397397        if( strchr( room, '@' ) == NULL )
    398398                imcb_error( ic, "Invalid room name: %s", room );
    399         else if( jabber_chat_by_name( ic, room ) )
     399        else if( jabber_chat_by_jid( ic, room ) )
    400400                imcb_error( ic, "Already present in chat `%s'", room );
    401401        else
Note: See TracChangeset for help on using the changeset viewer.