1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +01:00

Fix MessageEventManager.fireMessageEvent…()

This commit is contained in:
Florian Schmaus 2016-12-10 11:39:58 +01:00
parent 23475c33b7
commit 1151371c36

View file

@ -174,7 +174,7 @@ public final class MessageEventManager extends Manager {
Method method = Method method =
MessageEventRequestListener.class.getDeclaredMethod( MessageEventRequestListener.class.getDeclaredMethod(
methodName, methodName,
new Class<?>[] { String.class, String.class, MessageEventManager.class }); new Class<?>[] { Jid.class, String.class, MessageEventManager.class });
for (MessageEventRequestListener listener : messageEventRequestListeners) { for (MessageEventRequestListener listener : messageEventRequestListeners) {
method.invoke(listener, new Object[] { from, packetID, this }); method.invoke(listener, new Object[] { from, packetID, this });
} }