Mercurial > ~mikael > mcabber > hg
view mcabber/mcabber/xmpp_muc.h @ 1731:4fbfae993c24
Improve login process
The roster and private storage elements are requested before broadcasting
our presence, because we want the roster before we receive our contacts
presence notifications.
This is more efficients, and also solves an issue with entity capabilities
(as we do not store caps for unknown items).
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 28 Feb 2010 18:50:30 +0100 |
parents | 1342df44c814 |
children | e6d355e50d7a |
line wrap: on
line source
#ifndef __MCABBER_XMPP_MUC_H__ #define __MCABBER_XMPP_MUC_H__ 1 typedef struct { char *to; char *from; char *passwd; char *reason; } event_muc_invitation; void destroy_event_muc_invitation(event_muc_invitation *invitation); void roompresence(gpointer room, void *presencedata); void got_muc_message(const char *from, LmMessageNode *x); void handle_muc_presence(const char *from, LmMessageNode * xmldata, const char *roomjid, const char *rname, enum imstatus ust, const char *ustmsg, time_t usttime, char bpprio); #endif /* __MCABBER_XMPP_MUC_H__ */ /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */