mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-04 21:27:16 +02:00
We are handling groupchat in other branch now
This commit is contained in:
parent
69a986a09e
commit
e9d537527c
|
@ -365,7 +365,6 @@ remove_msg_by_node(To, Seq) ->
|
||||||
|
|
||||||
-spec need_to_store(binary(), message()) -> boolean().
|
-spec need_to_store(binary(), message()) -> boolean().
|
||||||
need_to_store(_LServer, #message{type = error}) -> false;
|
need_to_store(_LServer, #message{type = error}) -> false;
|
||||||
need_to_store(_LServer, #message{type = groupchat}) -> false;
|
|
||||||
need_to_store(LServer, #message{type = Type} = Packet) ->
|
need_to_store(LServer, #message{type = Type} = Packet) ->
|
||||||
case xmpp:has_subtag(Packet, #offline{}) of
|
case xmpp:has_subtag(Packet, #offline{}) of
|
||||||
false ->
|
false ->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user