]> granicus.if.org Git - ejabberd/commit
Simplify check for carbon-copied chat states
authorHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 5 Jun 2016 20:36:56 +0000 (22:36 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 5 Jun 2016 20:36:56 +0000 (22:36 +0200)
commit60803f57802ecf460e25ce3a6ef5dc86285ed448
tree8e17aa2b09b2d403087e58565801e599623912ed
parent5c3074c0fb28bb04a74cd9f44bf0a8ecc3bd8312
Simplify check for carbon-copied chat states

Let jlib:is_standalone_chat_state/1 unwrap carbon copies rather than
leaving this to the caller.  We still export jlib:unwrap_carbon/1, as
this function might also be useful for other purposes.
src/jlib.erl
src/mod_client_state.erl
src/mod_offline.erl