mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
* src/ejabberd_c2s.erl: user_send_packet hook now called on all packets including presence packets (EJAB-634)
SVN Revision: 1341
This commit is contained in:
parent
c4366a54cc
commit
cf42ea0bcb
@ -1,3 +1,8 @@
|
||||
2008-05-22 Mickael Remond <mremond@process-one.net>
|
||||
|
||||
* src/ejabberd_c2s.erl: user_send_packet hook now called on all packets
|
||||
including presence packets (EJAB-634)
|
||||
|
||||
2008-05-22 Badlop <badlop@process-one.net>
|
||||
|
||||
* README: R12 support: remove compilation warning (EJAB-630)
|
||||
|
@ -903,6 +903,10 @@ session_established({xmlstreamelement, El}, StateData) ->
|
||||
Server,
|
||||
NewEl,
|
||||
[User, Server]),
|
||||
ejabberd_hooks:run(
|
||||
user_send_packet,
|
||||
Server,
|
||||
[FromJID, ToJID, PresenceEl]),
|
||||
case ToJID of
|
||||
#jid{user = User,
|
||||
server = Server,
|
||||
|
Loading…
Reference in New Issue
Block a user