Ignore:
Timestamp:
2016-03-20T03:58:05Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
4e0e590
Parents:
63825d6
git-author:
dequis <dx@…> (10-03-16 05:20:31)
git-committer:
dequis <dx@…> (20-03-16 03:58:05)
Message:

jabber: Add "always_use_nicks" setting, for non-anonymous MUCs

Basically the same thing as github PR #55, which fixes trac bug 415,
but this one conditionalized that behavior and uses the API introduced a
few commits ago.

I didn't think too much about the setting name and i'm open to changing
it to anything else

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r63825d6 r3320d6d  
    7575        JCFLAG_MESSAGE_SENT = 1,        /* Set this after sending the first message, so
    7676                                           we can detect echoes/backlogs. */
     77        JCFLAG_ALWAYS_USE_NICKS = 2,
    7778} jabber_chat_flags_t;
    7879
     
    343344
    344345/* conference.c */
    345 struct groupchat *jabber_chat_join(struct im_connection *ic, const char *room, const char *nick, const char *password);
     346struct groupchat *jabber_chat_join(struct im_connection *ic, const char *room, const char *nick, const char *password,
     347                                   gboolean always_use_nicks);
    346348struct groupchat *jabber_chat_with(struct im_connection *ic, char *who);
    347349struct groupchat *jabber_chat_by_jid(struct im_connection *ic, const char *name);
Note: See TracChangeset for help on using the changeset viewer.