Mercurial > ~mikael > mcabber > hg
view mcabber/mcabber/carbons.h @ 2358:b010ffcae282
Don't crash on presence from bare room JID
While handling MUC presence, check whether it was sent from the bare
room JID before assuming a non-NULL resource name. These days, some
servers send presence from the bare room JID to handle MUC avatars.
author | Holger Weiß <holger@zedat.fu-berlin.de> |
---|---|
date | Tue, 22 Oct 2019 19:59:21 +0200 |
parents | 2ce6dd6861ea |
children |
line wrap: on
line source
#ifndef __MCABBER_CARBONS_H__ #define __MCABBER_CARBONS_H__ 1 #include <glib.h> void carbons_available(); void carbons_enable(); void carbons_disable(); void carbons_info(); void carbons_reset(); gboolean carbons_enabled(); #endif //__MCABBER_CARBONS_H__