mirror of https://github.com/zlatinb/muwire
pause to give a chance to the event to propagate
parent
fc9114eaa5
commit
e8dd7d710d
|
@ -197,6 +197,9 @@ public class TrustServlet extends HttpServlet {
|
||||||
event.setPersona(p);
|
event.setPersona(p);
|
||||||
event.setSubscribe(false);
|
event.setSubscribe(false);
|
||||||
core.getEventBus().publish(event);
|
core.getEventBus().publish(event);
|
||||||
|
try {
|
||||||
|
Thread.sleep(100);
|
||||||
|
} catch (InterruptedException e) {}
|
||||||
} else if (action.equals("trust")) {
|
} else if (action.equals("trust")) {
|
||||||
doTrust(p, TrustLevel.TRUSTED, req.getParameter("reason"));
|
doTrust(p, TrustLevel.TRUSTED, req.getParameter("reason"));
|
||||||
} else if (action.equals("neutral")) {
|
} else if (action.equals("neutral")) {
|
||||||
|
|
Loading…
Reference in New Issue