view mcabber/mcabber/xmpp_muc.h @ 1730:860b58a0e8da

Update XEP-0184 support The spec now says: "If receipts are desired, a sender SHOULD include a request for message receipts on all messages, no matter whether sending to the bare JID <localpart@domain.tld> of the recipient or the full JID <localpart@domain.tld/resource>." MCabber now sends message receipt requests to bare JIDs.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 28 Feb 2010 17:02:26 +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... */