Search in sources :

Example 1 with RouterLoadFullUser

use of im.actor.core.modules.users.router.entity.RouterLoadFullUser in project actor-platform by actorapp.

the class UserRouter method onReceive.

@Override
public void onReceive(Object message) {
    if (message instanceof RouterLoadFullUser) {
        if (isFreezed) {
            stash();
            return;
        }
        RouterLoadFullUser loadFullUser = (RouterLoadFullUser) message;
        onLoadFullUser(loadFullUser.getUid());
    } else {
        super.onReceive(message);
    }
}
Also used : RouterLoadFullUser(im.actor.core.modules.users.router.entity.RouterLoadFullUser)

Aggregations

RouterLoadFullUser (im.actor.core.modules.users.router.entity.RouterLoadFullUser)1